Description
Set a workflow variable given a name and the value in the context of a running workflow. To compute the value at runtime from the current context you should use an EL expression as the value. This operation works on any input type and return back the input as the output.
Operation id | Context.SetWorkflowVar |
Category | Workflow Context |
Label | Set Workflow Variable |
Requires | Workflow |
Since | |
Parameters
Signature
Implementation information
JSON definition
{
"id" : "Context.SetWorkflowVar",
"label" : "Set Workflow Variable",
"category" : "Workflow Context",
"requires" : "Workflow",
"description" : "Set a workflow variable. The workflow variable must exists on the workflow. If no workflowId is specified the variable is set on the current workflow.To compute the value at runtime from the current context you should use a MVEL expression as the value. This operation works on any input type and return back the input as the output.",
"url" : "Context.SetWorkflowVar",
"signature" : [ "void", "void" ],
"params" : [ {
"name" : "name",
"description" : "",
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "value",
"description" : "",
"type" : "object",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "workflowInstanceId",
"description" : "",
"type" : "string",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
} ]
}