|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpdateProcessInstancesSuspensionStateBuilder
| Method Summary | |
|---|---|
Batch |
activateAsync()
Activates the provided process instances asynchronously. |
Batch |
suspendAsync()
Suspends the provided process instances asynchronously. |
| Methods inherited from interface org.camunda.bpm.engine.runtime.UpdateProcessInstanceSuspensionStateBuilder |
|---|
activate, suspend |
| Methods inherited from interface org.camunda.bpm.engine.runtime.UpdateProcessInstancesRequest |
|---|
byHistoricProcessInstanceQuery, byProcessInstanceIds, byProcessInstanceIds, byProcessInstanceQuery |
| Method Detail |
|---|
Batch activateAsync()
Activates the provided process instances asynchronously.
If you have a process instance hierarchy, activating one process instance from the hierarchy will not activate other process instances from that hierarchy.
BadUserRequestException - If no process Instances are found
If a process Instance is set to null
AuthorizationException - if the user has no Permissions.CREATE permission
on Resources.BATCH.Batch suspendAsync()
Suspends the provided process instances asynchronously. This means that the execution is stopped, so the token state will not change. However, actions that do not change token state, like setting/removing variables, etc. will succeed.
Tasks belonging to the suspended process instance will also be suspended. This means that any actions influencing the tasks' lifecycles will fail, such as
If a process instance is in state suspended, the engine will also not execute jobs (timers, messages) associated with this instance.
If you have a process instance hierarchy, suspending one process instance from the hierarchy will not suspend other process instances from that hierarchy.
BadUserRequestException - If no process Instances are found
If a process Instance is set to null
AuthorizationException - if the user has no Permissions.CREATE permission
on Resources.BATCH.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||