Interface IWorkflowExecutionListener


  • public interface IWorkflowExecutionListener
    Interface for objects that wish to listen to the various stages of a workflow execution. Meant for internal use by the workflow task runner.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • onBeforeExecuteNode

        void onBeforeExecuteNode​(WorkflowTask task,
                                 WorkflowNode node)
        Invoked just before a WorkflowNode is about to be executed.
        Parameters:
        task - The task to which the node belongs.
        node - The node about to be executed.
      • onAfterExecuteNode

        void onAfterExecuteNode​(WorkflowTask task,
                                WorkflowNode node,
                                IWorkflowNodeResult result)
        Invoked just after a WorkflowNode was executed (whether successfully or not).
        Parameters:
        task - The task to which the node belongs.
        node - The node about that was executed.
        result - The result obtained from the node's execution.