Interface WorkflowProcessingService

    • Method Detail

      • terminateWorkflow

        boolean terminateWorkflow​(WorkflowModel workflow)
        Terminates workflow
        Parameters:
        workflow - to be terminated
        Returns:
        if terminated
      • endWorkflow

        boolean endWorkflow​(WorkflowModel workflow)
        Ends workflow
        Parameters:
        workflow - to be ended
        Returns:
        if ended
      • startWorkflow

        boolean startWorkflow​(WorkflowModel workflow)
        Starts workflow
        Parameters:
        workflow - to be started
        Returns:
        if started
      • setAndConnectionBetweenActionAndDecision

        void setAndConnectionBetweenActionAndDecision​(WorkflowDecisionModel decision,
                                                      WorkflowActionModel workflowAction)
        Sets "andconnection" attribute for links.
      • setOrConnectionBetweenActionAndDecision

        void setOrConnectionBetweenActionAndDecision​(WorkflowDecisionModel decision,
                                                     WorkflowActionModel workflowAction)
        Sets "orconnection" attribute for links.
      • toggleActions

        boolean toggleActions​(WorkflowModel workflow)
        Toggle all actions assigned to workflow
        Parameters:
        workflow -
        Returns:
        true if toggled