package com.iailab.module.bpm.framework.flowable.core.listener.demo.task; import lombok.extern.slf4j.Slf4j; import org.flowable.task.service.delegate.DelegateTask; import org.springframework.stereotype.Component; /** * 类型为 expression 的 TaskListener 监听器示例 * * @author iailab */ @Slf4j @Component public class DemoSpringExpressionTaskListener { public void notify(DelegateTask delegateTask) { log.info("[execute][task({}) 任务监听器(spring表达式)被调用]", delegateTask.getId()); } }