Interface CreateProcessInstanceCommandStep1
- All Known Implementing Classes:
CreateProcessInstanceCommandImpl
public interface CreateProcessInstanceCommandStep1
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Use the latest version of the process (without guarantee). -
Method Summary
Modifier and TypeMethodDescriptionbpmnProcessId
(String bpmnProcessId) Set the BPMN process id of the process to create an instance of.processDefinitionKey
(long processDefinitionKey) Set the key of the process to create an instance of.
-
Field Details
-
LATEST_VERSION
static final int LATEST_VERSIONUse the latest version of the process (without guarantee).- See Also:
-
-
Method Details
-
bpmnProcessId
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep2 bpmnProcessId(String bpmnProcessId) Set the BPMN process id of the process to create an instance of. This is the static id of the process in the BPMN XML (i.e. "<bpmn:process id='my-process'>").- Parameters:
bpmnProcessId
- the BPMN process id of the process- Returns:
- the builder for this command
-
processDefinitionKey
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3 processDefinitionKey(long processDefinitionKey) Set the key of the process to create an instance of. The key is assigned by the broker while deploying the process. It can be picked from the deployment or process event.- Parameters:
processDefinitionKey
- the key of the process- Returns:
- the builder for this command
-