接口 WorkflowExecutionListener


public interface WorkflowExecutionListener
Optional listener for workflow execution results.

Implement this interface and register as a Spring Bean to receive execution logs after each workflow run (e.g., for persistence or monitoring).

从以下版本开始:
2024
作者:
Levi Li
  • 方法详细资料

    • onExecutionComplete

      void onExecutionComplete(Integer workflowId, Integer revision, Map<Integer,List<WorkflowTaskLog>> logs)
      Called after a workflow execution completes (success or failure).
      参数:
      workflowId - the workflow that was executed
      revision - the revision of the workflow definition at execution time
      logs - execution logs grouped by level