Process Instance

Modify Process Instance Execution State Async

Submits a list of modification instructions to change a process instance's execution state async. A modification instruction is one of the following:

  • Starting execution before an activity
  • Starting execution after an activity on its single outgoing sequence flow
  • Starting execution on a specific sequence flow
  • Cancelling an activity instance, transition instance, or all instances (activity or transition) for an activity

Instructions are executed asynchronous and in the order they are provided in this request's body. Variables can be provided with every starting instruction.

The exact semantics of modification can be read about in the User guide.

post/process-instance/{id}/modification-async

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/process-instance/{id}/modification-async
  • Auth: HTTP basic

Path parameters

idstring required

The id of the process instance to modify.

Request body

skipCustomListenersboolean nullable

Skip execution listener invocation for activities that are started or ended as part of this request.

skipIoMappingsboolean nullable

Skip execution of input/output variable mappings for activities that are started or ended as part of this request.

annotationstring nullable

An arbitrary text annotation set by a user for auditing reasons.

Response

Request successful.

idstring nullable

The id of the batch.

typestring nullable

The type of the batch. See the User Guide for more information about batch types.

totalJobsinteger nullable

The total jobs of a batch is the number of batch execution jobs required to complete the batch.

jobsCreatedinteger nullable

The number of batch execution jobs already created by the seed job.

batchJobsPerSeedinteger nullable

The number of batch execution jobs created per seed job invocation. The batch seed job is invoked until it has created all batch execution jobs required by the batch (see totalJobs property).

invocationsPerBatchJobinteger nullable

Every batch execution job invokes the command executed by the batch invocationsPerBatchJob times. E.g., for a process instance migration batch this specifies the number of process instances which are migrated per batch execution job.

seedJobDefinitionIdstring nullable

The job definition id for the seed jobs of this batch.

monitorJobDefinitionIdstring nullable

The job definition id for the monitor jobs of this batch.

batchJobDefinitionIdstring nullable

The job definition id for the batch execution jobs of this batch.

suspendedboolean nullable

Indicates whether this batch is suspended or not.

tenantIdstring nullable

The tenant id of the batch.

createUserIdstring nullable

The id of the user that created the batch.

startTimestring date-time nullable

The time the batch was started. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ. For further information, please see the [documentation] (https://docs.cibseven.org/manual/2.1/reference/rest/overview/date-format/)

executionStartTimestring date-time nullable

The time the batch execution was started, i.e., at least one batch job has been executed. Default format yyyy-MM-dd'T'HH:mm:ss.SSSZ. For further information, please see the [documentation] (https://docs.cibseven.org/manual/2.1/reference/rest/overview/date-format/)

Changes

No recorded changes to this operation across all 1 revision of this API.