For more information about the difference between synchronous andasynchronous execution of a modification, please refer to the relatedsection of the .
Method
POST
Parameters
|type|Mandatory. One of the following values:
cancel
, startBeforeActivity
, startAfterActivity
, startTransition
. A and cancel
instructions request to enter a given activity. A startAfterActivity
instruction requests to execute the single outgoing sequence flow of a given activity. A startTransition
instruction requests to execute a specific sequence flow.|activityId|Can be used with instructions of types startBeforeActivity
, startAfterActivity
, and cancel
. Specifies the activity the instruction targets.|transitionId|Can be used with instructions of type startTransition
. Specifies the sequence flow to start.|cancelCurrentActiveActivityInstances|Can be used with instructions of type cancel
. Prevents the deletion of new created activity instances.|type|Mandatory. One of the following values:
cancel
, startBeforeActivity
, startAfterActivity
, startTransition
. A startBeforeActivity
and cancel
instructions request to enter a given activity. A startAfterActivity
instruction requests to execute the single outgoing sequence flow of a given activity. A startTransition
instruction requests to execute a specific sequence flow.|activityId|Can be used with instructions of types
startBeforeActivity
, startAfterActivity
, and . Specifies the activity the instruction targets.|transitionId|Can be used with instructions of type
startTransition
. Specifies the sequence flow to start.|cancelCurrentActiveActivityInstances|Can be used with instructions of type
cancel
. Prevents the deletion of new created activity instances.
Result
Response codes
Example
POST /modification/executeAsync
Request Body:
{
"id": "aBatchId",
"type": "aBatchType",
"totalJobs": 10,
"invocationsPerBatchJob": 1,
"seedJobDefinitionId": "aSeedJobDefinitionId",
"monitorJobDefinitionId": "aMonitorJobDefinitionId",
"batchJobDefinitionId": "aBatchJobDefinitionId",
"tenantId": "aTenantId"