Interface ProcessRunner.StartableRunner

    • Method Detail

      • startByKey

        ProcessRunner.ExecutableRunner.StartingByKey startByKey​(String processDefinitionKey,
                                                                Map<String,​Object> variables)
        Start the new process instance by providing a process definition key and provide a few process instance variables.
        Parameters:
        processDefinitionKey - to be used to start a process instance
        variables - to be used as process instance variables from the start on.
      • startByKey

        ProcessRunner.ExecutableRunner.StartingByKey startByKey​(String processDefinitionKey,
                                                                String businessKey,
                                                                Map<String,​Object> variables)
        Start the new process instance by providing a process definition key, business key and provide a few process instance variables.
        Parameters:
        processDefinitionKey - to be used to start a process instance
        businessKey - to be used to start a process by business key
        variables - to be used as process instance variables from the start on.
      • startByKey

        ProcessRunner.ExecutableRunner.StartingByKey startByKey​(String processDefinitionKey,
                                                                String businessKey)
        Start the new process instance by providing a process definition key, business key and provide a few process instance variables.
        Parameters:
        processDefinitionKey - to be used to start a process instance
        businessKey - to be used to start a process by business key
      • startByMessage

        ProcessRunner.ExecutableRunner.StartingByMessage startByMessage​(String messageName,
                                                                        Map<String,​Object> variables)
        Start the new process instance by providing a message name and provide a few process instance variables.
        Parameters:
        messageName - to be used to start a process instance
        variables - to be used as process instance variables from the start on.
      • withMockedProcess

        ProcessRunner.StartableRunner withMockedProcess​(String processDefinitionKey)
        Mock the scenario by deploying a process with the given process definition key, but only a single wait state to interact with (internally implemented with an external task).
        Parameters:
        processDefinitionKey - the process definition key to mock