Bladeren bron

规则增加流程实例id

fanxp 1 maand geleden
bovenliggende
commit
ed8952534a
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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);
             }