tencent cloud

Tencent Cloud Agent Development Platform

문서Tencent Cloud Agent Development Platform

Variable Assignment Node

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 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:





도움말 및 지원

문제 해결에 도움이 되었나요?

피드백