Package io.zeebe.client.api.command
Interface CreateWorkflowInstanceCommandStep1
-
- All Known Implementing Classes:
CreateWorkflowInstanceCommandImpl
public interface CreateWorkflowInstanceCommandStep1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep2
static interface
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
static interface
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceWithResultCommandStep1
-
Field Summary
Fields Modifier and Type Field Description static int
LATEST_VERSION
Use the latest version of the workflow (without guarantee).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep2
bpmnProcessId(String bpmnProcessId)
Set the BPMN process id of the workflow to create an instance of.CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
workflowKey(long workflowKey)
Set the key of the workflow to create an instance of.
-
-
-
Field Detail
-
LATEST_VERSION
static final int LATEST_VERSION
Use the latest version of the workflow (without guarantee).- See Also:
- Constant Field Values
-
-
Method Detail
-
bpmnProcessId
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep2 bpmnProcessId(String bpmnProcessId)
Set the BPMN process id of the workflow to create an instance of. This is the static id of the process in the BPMN XML (i.e. "<bpmn:process id='my-workflow'>").- Parameters:
bpmnProcessId
- the BPMN process id of the workflow- Returns:
- the builder for this command
-
workflowKey
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 workflowKey(long workflowKey)
Set the key of the workflow to create an instance of. The key is assigned by the broker while deploying the workflow. It can be picked from the deployment or workflow event.- Parameters:
workflowKey
- the key of the workflow- Returns:
- the builder for this command
-
-