Package io.zeebe.client.api.command
Interface CreateProcessInstanceCommandStep1
-
- All Known Implementing Classes:
CreateProcessInstanceCommandImpl
public interface CreateProcessInstanceCommandStep1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep2
static interface
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3
static interface
CreateProcessInstanceCommandStep1.CreateProcessInstanceWithResultCommandStep1
-
Field Summary
Fields Modifier and Type Field Description static int
LATEST_VERSION
Use the latest version of the process (without guarantee).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep2
bpmnProcessId(String bpmnProcessId)
Set the BPMN process id of the process to create an instance of.CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3
processDefinitionKey(long processDefinitionKey)
Set the key of the process to create an instance of.
-
-
-
Field Detail
-
LATEST_VERSION
static final int LATEST_VERSION
Use the latest version of the process (without guarantee).- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-