Variable Assignment
Overview
The Variable Assignment component is used to create variables, which can be used in subsequent steps. Multiple variables can be created on a Variable Assignment node.
Configuration
|
Parameter |
Description |
|---|---|
|
Variable Name |
Name of the variable to be created. |
|
Expression Type |
The value can be JSONPath, XPath, or Simple Expression. Select an expression type based on the data structure. For details, see Overview. |
|
Definition Expression |
Assign a value to the created variable. The variable value can be a constant, for example, hello world. You can also use an expression to reference the variable of the previous step, for example, the expression of the JSONPath type: $[0].name; expressions of the XPath type: /userinfo/user[1]/name; expressions of the simple type: ${property.name}. |
Last Article: Routing
Next Article: Parallel Processor
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.