Răsfoiți Sursa

feat: Add the globalData parameter to the workflowEventHandler method.

zhaosi 1 an în urmă
părinte
comite
503fee4051
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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 },
         });
       });
     }