Execute a request for the workflow which is already deployed on the AE server through API call then below are the details.
Information for executing workflow through API is as below:
API | Execute/ Submit Request |
---|---|
Description | Execute/Submit a workflow |
HTTP Method | POST |
URL | …/rest/execute |
Request Header | Content-Type: application/json |
X-session-token: token-value |
Request Body Sample {
“orgCode”: “TENANT1”,
“workflowName”: “DemoProcess”,
“userId”: “User1”,
“sourceId”: “001212”,
“source”: “Postman”,
“responseMailSubject”: “null”,
“params”: [
{
“name”: “param1”,
“value”: “5”,
“type”: “String”,
“order”: 1,
“secret”: false,
“optional”: false,
“displayName”: “Number 1”
},
{
“name”: “param2”,
“value”: “7”,
“type”: “String”,
“order”: 1,
“secret”: false,
“optional”: false,
“displayName”: “Number 2”
}
]
}