浏览代码

规则增加流程实例id

fanxp 1 月之前
父节点
当前提交
ed8952534a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/xjrsoft/module/workflow/listener/ExecutionDelegate.java

+ 1 - 0
src/main/java/com/xjrsoft/module/workflow/listener/ExecutionDelegate.java

@@ -913,6 +913,7 @@ public class ExecutionDelegate implements ExecutionListener {
                 LiteFlowChainELBuilder.createChain().setChainName(chain.getChainName()).setEL(chain.getElData()).build();
                 // 执行规则
                 varMap.put("processDefinitionId", execution.getProcessDefinitionId());
+                varMap.put("processInstanceId", execution.getProcessInstanceId());
                 flowExecutor.execute2Resp(chain.getChainName(), null,varMap);
             }