Interface TaskListener


  • public interface TaskListener
    流程任务监听

    官网尊重知识产权,不允许非法使用,后果自负

    Since:
    1.0
    Author:
    hubin
    • Method Detail

      • notify

        boolean notify​(TaskEventType eventType,
                       java.util.function.Supplier<FlwTask> supplier,
                       java.util.List<FlwTaskActor> taskActors,
                       NodeModel nodeModel,
                       FlowCreator flowCreator)
        流程引擎监听通知
        Parameters:
        eventType - 事件类型
        supplier - 监听任务提供者
        taskActors - 监听任务参与者
        nodeModel - 当前执行节点 NodeModel 为 null 需要根据 runtimeService.getNodeModel(instanceId, nodeKey) 方法获取
        flowCreator - 处理人员
        Returns:
        通知结果 true 成功 false 失败