Package io.zeebe.client.api.command
Interface CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep2
-
- All Known Implementing Classes:
CreateProcessInstanceCommandImpl
- Enclosing interface:
- CreateProcessInstanceCommandStep1
public static interface CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3
latestVersion()
Use the latest version of the process to create an instance of.CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3
version(int version)
Set the version of the process to create an instance of.
-
-
-
Method Detail
-
version
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3 version(int version)
Set the version of the process to create an instance of. The version is assigned by the broker while deploying the process. It can be picked from the deployment or process event.- Parameters:
version
- the version of the process- Returns:
- the builder for this command
-
latestVersion
CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3 latestVersion()
Use the latest version of the process 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
-
-