cancel
Showing results for 
Search instead for 
Did you mean: 

Work Flow Variable

Abdelrahman_Sa1
Confirmed Champ
Confirmed Champ

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"]" }

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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/listOperation...

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.