public interface RestartProcessInstanceBuilder extends InstantiationBuilder<RestartProcessInstanceBuilder>
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the restart synchronously.
|
Batch |
executeAsync()
Executes the restart asynchronously as batch.
|
RestartProcessInstanceBuilder |
historicProcessInstanceQuery(HistoricProcessInstanceQuery query) |
RestartProcessInstanceBuilder |
initialSetOfVariables()
Sets the initial set of variables during restart.
|
RestartProcessInstanceBuilder |
processInstanceIds(List<String> processInstanceIds) |
RestartProcessInstanceBuilder |
processInstanceIds(String... processInstanceIds) |
RestartProcessInstanceBuilder |
skipCustomListeners()
Skips custom execution listeners when creating activity instances during restart
|
RestartProcessInstanceBuilder |
skipIoMappings()
Skips io mappings when creating activity instances during restart
|
RestartProcessInstanceBuilder |
withoutBusinessKey()
Does not take over the business key of the historic process instance
|
startAfterActivity, startBeforeActivity, startTransition
RestartProcessInstanceBuilder historicProcessInstanceQuery(HistoricProcessInstanceQuery query)
query
- a query which selects the historic process instances to restart.
Query results are restricted to process instances for which the user has Permissions.READ_HISTORY
permission.RestartProcessInstanceBuilder processInstanceIds(String... processInstanceIds)
processInstanceIds
- the process instance ids to restart.RestartProcessInstanceBuilder processInstanceIds(List<String> processInstanceIds)
processInstanceIds
- the process instance ids to restart.RestartProcessInstanceBuilder initialSetOfVariables()
RestartProcessInstanceBuilder withoutBusinessKey()
RestartProcessInstanceBuilder skipCustomListeners()
RestartProcessInstanceBuilder skipIoMappings()
void execute()
Batch executeAsync()
AuthorizationException
- if the user has not all of the following permissions
Permissions.CREATE
permission on Resources.BATCH
Copyright © 2018. All rights reserved.