Skip to main content

Context

The context is a space created for each workflow instance, where users can store data and access it later to perform any action within the workflow.

  • You can create a variable in the context by specifying as key, within the action configuration file.
  • You can use a variable from the context later by prefixing it with the string EVAL --.
{
"name": "manual_action",
"type": "MANUAL",

"as": "manual_action_context",

"version": "v1",
"steps": []
}
{
"name": "chained_action",
"type": "CHAINED",
"version": "v1",
"steps": [
{
"module": "src/steps/execute/request.step",
"id": "ha-1",
"config": {
"as": "chained_action_context",

"method": "POST",
"data": {
"userDetail": "EVAL -- manual_action_context.payload.userDetail"
},
"url": "www.domain.com/add/user"
}
}
]
}