Platform Explorer / Nuxeo Platform 5.6

Operation Workflow.SetNodeVariable

Set Node Variable

Description

Set a workflow node 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 Workflow.SetNodeVariable
AliasesContext.SetWorkflowNodeVar
Category Workflow Context
Label Set Node Variable
Requires Workflow
Since

Parameters

Name Description Type Required Default value
name string yes  
value object no  

Signature

Inputs void
Outputs void

Implementation information

Implementation class org.nuxeo.ecm.platform.routing.api.operation.SetWorkflowNodeVar
Contributing component org.nuxeo.ecm.platform.routing.operations

JSON definition

{
  "id" : "Workflow.SetNodeVariable",
  "aliases" : [ "Context.SetWorkflowNodeVar" ],
  "label" : "Set Node Variable",
  "category" : "Workflow Context",
  "requires" : "Workflow",
  "description" : "Set a workflow node 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.",
  "url" : "Workflow.SetNodeVariable",
  "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" : [ ]
  } ]
}