Set Variable Node
This node is used to create a GLOBAL variable and assign it a value.
The value assigned can be of type -
Select - Selects a part of the output from the previous node. For instance previous node is request node that outputs
{ "id": 10, "category" : [ {"id" : 10, "status" : "available"} ], .....}
, then you can useid
orcategory.0.id
to assign value to the variable. The actual values will be calculated on the fly when the graph is run.String - Assigns a value of type string to the variable.
Number - Assigns a value of type number to the variable.
Boolean - Assigns a value of type boolean to the variable.
Now - Assigns a value of type now() epoch timestamp to the variable. The value of now() is calculated on the fly during graph run.
Expression - You can compute an expression on the fly to assign value to this variable. For instance , create a variable
startTime
that is assignednow() - 3minutes
Last updated