Execute activities in adhoc sub process
POST {{baseUrl}}/process-instances/adhoc-subprocesses/:adhocSubprocessId/activities
Execute activities in adhoc sub process. Adhoc sub process id is same as the id in the list of adhoc sub processes for a process instance response or id in the list of active adhoc sub process executions for a process instance.
Request Body
{"activityIds"=>["mollit incididunt eiusmod minim nostrud", "qui ut irure ut"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"content":[[{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":true},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"},{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":false},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"}],[{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":true},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"},{"activityId":"SampleActivityId","id":"0737cb8c-3077-11ea-ad13-eeee0aff6857","links":{"empty":false},"parentId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","processInstanceId":"0737cb8c-3077-11ea-ad13-eeee0aff6857","superExecutionId":"0787cg8c-3077-11ea-ad13-eeee0aff6857","suspended":false,"tenantId":"56adec43-d43a-4112-9f49-cd7c64d1d75b"}]],"links":{"empty":true}}