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:

  1. {
  2. "id": "aBatchId",
  3. "type": "aBatchType",
  4. "totalJobs": 10,
  5. "invocationsPerBatchJob": 1,
  6. "seedJobDefinitionId": "aSeedJobDefinitionId",
  7. "monitorJobDefinitionId": "aMonitorJobDefinitionId",
  8. "batchJobDefinitionId": "aBatchJobDefinitionId",
  9. "tenantId": "aTenantId"