Work Flow Variable
Dears
i am calling work flow from my app as api so how can i pass variable for Context[“var”] or WorkflowVariables[“rec”] for more details see my example below
http://localhost:8080/nuxeo/api/v1/id/de229144-4c2a-48c8-ab8c-7d5581c41f54/@workflow -request body { “workflowModelName”:“DocsFlow”
,"entity-type":"workflow"
}
response {
"entity-type": "exception",
"status": 500,
"message": "Can not evaluate task assignees from Context[\"recieved\"]"
}
0 votes
1 answers
918 views
Hello,
You have to use the automation operations with
- POST /site/automation/Context.SetWorkflowVar
- POST /site/automation/Workflow.SetNodeVariable
You can have details on the parameters in https://explorer.nuxeo.com/nuxeo/site/distribution/Nuxeo%20Platform%20LTS%202019-10.10/listOperations