Interface CreateWorkflowInstanceCommandStep1

    • 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