|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessInstantiationBuilder
| Method Summary | |
|---|---|
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()
Deprecated. use executeWithVariablesInReturn() instead. |
ProcessInstance |
execute(boolean skipCustomListeners,
boolean skipIoMappings)
Deprecated. use executeWithVariablesInReturn(boolean, boolean) instead. |
ProcessInstanceWithVariables |
executeWithVariablesInReturn()
Start the process instance. |
ProcessInstanceWithVariables |
executeWithVariablesInReturn(boolean skipCustomListeners,
boolean skipIoMappings)
Start the process instance. |
ProcessInstantiationBuilder |
processDefinitionTenantId(String tenantId)
Specify the id of the tenant the process definition belongs to. |
ProcessInstantiationBuilder |
processDefinitionWithoutTenantId()
Specify that the process definition belongs to no tenant. |
| Methods inherited from interface org.camunda.bpm.engine.runtime.ActivityInstantiationBuilder |
|---|
setVariable, setVariableLocal, setVariables, setVariablesLocal |
| Methods inherited from interface org.camunda.bpm.engine.runtime.InstantiationBuilder |
|---|
startAfterActivity, startBeforeActivity, startTransition |
| Method Detail |
|---|
ProcessInstantiationBuilder processDefinitionTenantId(String tenantId)
key and not by id.
ProcessInstantiationBuilder processDefinitionWithoutTenantId()
key and not by id.
ProcessInstantiationBuilder businessKey(String businessKey)
ProcessInstantiationBuilder caseInstanceId(String caseInstanceId)
@Deprecated ProcessInstance execute()
executeWithVariablesInReturn() instead.
AuthorizationException - if the user has no Permissions.CREATE permission on
Resources.PROCESS_INSTANCE and no
Permissions.CREATE_INSTANCE permission on
Resources.PROCESS_DEFINITION.
@Deprecated
ProcessInstance execute(boolean skipCustomListeners,
boolean skipIoMappings)
executeWithVariablesInReturn(boolean, boolean) instead.
skipCustomListeners - specifies whether custom listeners (task and execution) should be
invoked when executing the instructions. Only supported for
instructions.skipIoMappings - specifies whether input/output mappings for tasks should be
invoked throughout the transaction when executing the
instructions. Only supported for instructions.
ProcessInstanceWithVariables executeWithVariablesInReturn()
AuthorizationException - if the user has no Permissions.CREATE permission on
Resources.PROCESS_INSTANCE and no
Permissions.CREATE_INSTANCE permission on
Resources.PROCESS_DEFINITION.
ProcessInstanceWithVariables executeWithVariablesInReturn(boolean skipCustomListeners,
boolean skipIoMappings)
skipCustomListeners - specifies whether custom listeners (task and execution) should be
invoked when executing the instructions. Only supported for
instructions.skipIoMappings - specifies whether input/output mappings for tasks should be
invoked throughout the transaction when executing the
instructions. Only supported for instructions.
AuthorizationException - if the user has no Permissions.CREATE permission on
Resources.PROCESS_INSTANCE and no
Permissions.CREATE_INSTANCE permission on
Resources.PROCESS_DEFINITION.
ProcessEngineException - if skipCustomListeners or skipIoMappings is set
to true but no instructions are submitted. Both options are not
supported when the instance starts at the default start activity.
Use execute() instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||