@nocobase/plugin-workflow-parallel 1.3.0-alpha.20240819011229 → 1.4.0-alpha.20240825165425

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,11 +11,11 @@ module.exports = {
11
11
  "react": "18.2.0",
12
12
  "antd": "5.12.8",
13
13
  "@ant-design/icons": "5.2.6",
14
- "@nocobase/client": "1.3.0-alpha.20240819011229",
15
- "@nocobase/plugin-workflow": "1.3.0-alpha.20240819011229",
14
+ "@nocobase/client": "1.4.0-alpha.20240825165425",
15
+ "@nocobase/plugin-workflow": "1.4.0-alpha.20240825165425",
16
16
  "react-i18next": "11.18.6",
17
- "@nocobase/server": "1.3.0-alpha.20240819011229",
18
- "@nocobase/plugin-workflow-test": "1.3.0-alpha.20240819011229",
19
- "@nocobase/test": "1.3.0-alpha.20240819011229",
20
- "@nocobase/utils": "1.3.0-alpha.20240819011229"
17
+ "@nocobase/server": "1.4.0-alpha.20240825165425",
18
+ "@nocobase/plugin-workflow-test": "1.4.0-alpha.20240825165425",
19
+ "@nocobase/test": "1.4.0-alpha.20240825165425",
20
+ "@nocobase/utils": "1.4.0-alpha.20240825165425"
21
21
  };
@@ -122,7 +122,7 @@ class ParallelInstruction_default extends import_plugin_workflow.Instruction {
122
122
  status: Modes[mode].getStatus(newResult)
123
123
  });
124
124
  if (job.status === import_plugin_workflow.JOB_STATUS.PENDING) {
125
- await job.save();
125
+ await job.save({ transaction: processor.transaction });
126
126
  return processor.exit();
127
127
  }
128
128
  return job;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "工作流:并行分支节点",
5
5
  "description": "Could be used for parallel execution of branch processes in the workflow.",
6
6
  "description.zh-CN": "用于在工作流中需要并行执行的分支流程。",
7
- "version": "1.3.0-alpha.20240819011229",
7
+ "version": "1.4.0-alpha.20240825165425",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "homepage": "https://docs.nocobase.com/handbook/workflow-parallel",
@@ -22,7 +22,7 @@
22
22
  "@nocobase/server": "1.x",
23
23
  "@nocobase/test": "1.x"
24
24
  },
25
- "gitHead": "76365630f8f7129a9308da4aaa1661c08603d04b",
25
+ "gitHead": "dc1bd67309135a872818a919855b45ef7544f689",
26
26
  "keywords": [
27
27
  "Workflow"
28
28
  ]