public interface ProcessInstantiationBuilder extends ActivityInstantiationBuilder<ProcessInstantiationBuilder>, InstantiationBuilder<ProcessInstantiationBuilder>
Modifier and Type | Method and Description |
---|---|
ProcessInstantiationBuilder |
businessKey(String businessKey)
Set the business key for the process instance
|
ProcessInstantiationBuilder |
caseInstanceId(String caseInstanceId)
Associate a case instance with the process instance
|
ProcessInstance |
execute()
Start the process instance by executing all instructions in the order they are submitted.
|
ProcessInstance |
execute(boolean skipCustomListeners,
boolean skipIoMappings)
Start the process instance by executing all instructions in the order they are submitted.
|
setVariable, setVariableLocal, setVariables, setVariablesLocal
startAfterActivity, startBeforeActivity, startTransition
ProcessInstantiationBuilder businessKey(String businessKey)
ProcessInstantiationBuilder caseInstanceId(String caseInstanceId)
ProcessInstance execute()
AuthorizationException
- if the user has no Permissions.CREATE
permission on Resources.PROCESS_INSTANCE
and no Permissions.CREATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
.ProcessInstance execute(boolean skipCustomListeners, boolean skipIoMappings)
skipCustomListeners
- specifies whether custom listeners (task and execution)
should be invoked when executing the instructionsskipIoMappings
- specifies whether input/output mappings for tasks should be invoked
throughout the transaction when executing the instructionsAuthorizationException
- if the user has no Permissions.CREATE
permission on Resources.PROCESS_INSTANCE
and no Permissions.CREATE_INSTANCE
permission on Resources.PROCESS_DEFINITION
..Copyright © 2018. All rights reserved.