Interface CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep2

All Known Implementing Classes:
CreateProcessInstanceCommandImpl
Enclosing interface:
CreateProcessInstanceCommandStep1

public static interface CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep2
  • Method Details

    • 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

      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