|
@@ -195,6 +195,9 @@ public class FlowProcessServiceImpl implements FlowProcessService {
|
|
|
// 推送
|
|
|
pushInitiateMessage(flowId, flowDefinition, nextNodeType, flowExample);
|
|
|
|
|
|
+ // 清空ThreadLocal
|
|
|
+ FlowThreadLocalUtil.remove();
|
|
|
+
|
|
|
return new FlowResult(true);
|
|
|
}
|
|
|
|
|
@@ -261,6 +264,9 @@ public class FlowProcessServiceImpl implements FlowProcessService {
|
|
|
// 消息推送
|
|
|
pushJumpMessage(context);
|
|
|
|
|
|
+ // 清空ThreadLocal
|
|
|
+ FlowThreadLocalUtil.remove();
|
|
|
+
|
|
|
return flowResult;
|
|
|
}
|
|
|
|