소스 검색

feat: Add the globalData parameter to the workflowEventHandler method.

zhaosi 1 년 전
부모
커밋
503fee4051
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/workflowEngine/index.js

+ 1 - 0
src/workflowEngine/index.js

@@ -116,6 +116,7 @@ export function startWorkflowExec(workflowData, options, isPopup = true) {
         workflowEventHandler(event.action, {
           workflow: workflowRefData,
           variables: { ...engine.referenceData.variables },
+          globalData: { ...engine.referenceData.globalData },
         });
       });
     }