Explorar o código

feat: Add the globalData parameter to the workflowEventHandler method.

zhaosi hai 1 ano
pai
achega
503fee4051
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 },
         });
       });
     }