public interface ChangeActivityStateBuilder
RuntimeService.createChangeActivityStateBuilder().| Modifier and Type | Method and Description |
|---|---|
ChangeActivityStateBuilder |
cancelActivityId(String cancelActivityId)
Set the activity that should be cancelled.
|
void |
changeState()
Start the process instance
|
ChangeActivityStateBuilder |
executionId(String executionId)
Set the id of the execution for which the activity should be changed
|
ChangeActivityStateBuilder |
processInstanceId(String processInstanceId)
Set the id of the process instance
|
ChangeActivityStateBuilder |
startActivityId(String startActivityId)
Set the activity that should be started
|
ChangeActivityStateBuilder processInstanceId(String processInstanceId)
ChangeActivityStateBuilder executionId(String executionId)
ChangeActivityStateBuilder cancelActivityId(String cancelActivityId)
ChangeActivityStateBuilder startActivityId(String startActivityId)
void changeState()
FlowableObjectNotFoundException - when no process instance is foundFlowableException - activity could not be canceled or startedCopyright © 2017 Flowable. All rights reserved.