Browse Source

fix: data snapshot

Ahmad Kholid 2 years ago
parent
commit
7b270bdbcb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/workflowEngine/WorkflowEngine.js

+ 2 - 0
src/workflowEngine/WorkflowEngine.js

@@ -261,6 +261,8 @@ class WorkflowEngine {
         this.referenceData.variables[`$$${name}`] = value;
       });
 
+      this.addRefDataSnapshot('variables');
+
       await this.states.add(this.id, {
         id: this.id,
         state: this.state,