Assign Element
Element for modifying data model values
Assign Element
Coming soon: This feature is not yet available. Please check back soon.
The <assign> element modifies the data model:
| Prop | Type | Default |
|---|---|---|
location | string | - |
action? | string | - |
expr? | Expression | - |
Examples
Basic Assignment
Increment Counter
Append to Array
Usage Notes
- Use clear location paths that reflect the data structure
- Consider using expressions for dynamic values
- Choose appropriate action types for the operation
- Validate data before assignment when necessary