Merge branch 'refs/heads/REQ-2324' into feature/merged_all_req
This commit is contained in:
commit
07c565d02d
@ -1,5 +1,6 @@
|
|||||||
package cn.axzo.workflow.core.engine.listener;
|
package cn.axzo.workflow.core.engine.listener;
|
||||||
|
|
||||||
|
import cn.axzo.workflow.core.common.context.ActivityOperationContext;
|
||||||
import cn.axzo.workflow.core.engine.event.BizSpecifyAssigneeEvent;
|
import cn.axzo.workflow.core.engine.event.BizSpecifyAssigneeEvent;
|
||||||
import cn.axzo.workflow.core.engine.event.BizSpecifyAssigneeEventType;
|
import cn.axzo.workflow.core.engine.event.BizSpecifyAssigneeEventType;
|
||||||
import cn.axzo.workflow.core.listener.BpmnActivityEventListener;
|
import cn.axzo.workflow.core.listener.BpmnActivityEventListener;
|
||||||
@ -60,8 +61,10 @@ public class EngineActivityExtEventListener extends AbstractFlowableEventListene
|
|||||||
}
|
}
|
||||||
|
|
||||||
private List<BpmnActivityEventListener> getOrderedListeners() {
|
private List<BpmnActivityEventListener> getOrderedListeners() {
|
||||||
|
ActivityOperationContext context = new ActivityOperationContext();
|
||||||
List<BpmnActivityEventListener> orderListeners = new ArrayList<>();
|
List<BpmnActivityEventListener> orderListeners = new ArrayList<>();
|
||||||
activityListeners.ifAvailable(orderListeners::addAll);
|
activityListeners.ifAvailable(orderListeners::addAll);
|
||||||
|
orderListeners.forEach(i -> i.setContext(context));
|
||||||
return orderListeners;
|
return orderListeners;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user