Package io.zeebe.client.api.command
Interface CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep2
-
- All Known Implementing Classes:
CreateWorkflowInstanceCommandImpl
- Enclosing interface:
- CreateWorkflowInstanceCommandStep1
public static interface CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
latestVersion()
Use the latest version of the workflow to create an instance of.CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3
version(int version)
Set the version of the workflow to create an instance of.
-
-
-
Method Detail
-
version
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 version(int version)
Set the version of the workflow to create an instance of. The version is assigned by the broker while deploying the workflow. It can be picked from the deployment or workflow event.- Parameters:
version
- the version of the workflow- Returns:
- the builder for this command
-
latestVersion
CreateWorkflowInstanceCommandStep1.CreateWorkflowInstanceCommandStep3 latestVersion()
Use the latest version of the workflow to create an instance of.If the latest version was deployed few moments before then it can happen that the new instance is created of the previous version.
- Returns:
- the builder for this command
-
-