tencent cloud

Variable Assignment Node
Last updated:2025-09-12 15:38:50
Variable Assignment Node
Last updated: 2025-09-12 15:38:50

Node Function

Variable Assignment Node belongs to variable processing function, supporting assignment of Global Type variables. The main feature of the node is to assign new values to variables dynamically based on conditions or results generated during workflow execution. By using Variable Assignment Node, you can achieve flexible control over workflow behavior and ensure timely updates and transmission of variable values.




Directions

Variable Assignment

Supports assigning values to global variables. The variables to be assigned only support references to workflow-level and application-level variables. The data source for variable assignment supports manual input and referencing variables from preceding nodes.

Output Variable

The output variable processed by this node. Defaults to the bool type variable isSuccess to represent whether the assignment operation is successful, as well as the runtime error message Error (data type is object, this field is empty when running normally). Manual addition is not supported.




Application Example

In the hospital registration scenario, normalize the hospital name and assign the normalized name to a workflow-level variable for subsequent use.



Among them, the configuration of the Variable Assignment Node is as follows:




Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback