Преглед изворни кода

Merge pull request #1668 from AprildreamMI/workflow-event-global

feat: Add the globalData parameter to the workflowEventHandler method.
Ahmad Kholid пре 1 година
родитељ
комит
64da597303
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 },
         });
       });
     }