@nocobase/plugin-workflow-manual 1.8.8 → 1.8.9

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.
@@ -8,7 +8,7 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.8.8",
11
+ "@nocobase/client": "1.8.9",
12
12
  "react": "18.2.0",
13
13
  "react-router-dom": "6.28.1",
14
14
  "@formily/react": "2.3.0",
@@ -19,15 +19,15 @@ module.exports = {
19
19
  "dayjs": "1.11.13",
20
20
  "react-i18next": "11.18.6",
21
21
  "lodash": "4.17.21",
22
- "@nocobase/plugin-workflow": "1.8.8",
23
- "@nocobase/plugin-mobile": "1.8.8",
24
- "@nocobase/utils": "1.8.8",
25
- "@nocobase/server": "1.8.8",
26
- "@nocobase/database": "1.8.8",
27
- "@nocobase/actions": "1.8.8",
28
- "@nocobase/resourcer": "1.8.8",
29
- "@nocobase/test": "1.8.8",
30
- "@nocobase/plugin-workflow-test": "1.8.8",
22
+ "@nocobase/plugin-workflow": "1.8.9",
23
+ "@nocobase/plugin-mobile": "1.8.9",
24
+ "@nocobase/utils": "1.8.9",
25
+ "@nocobase/server": "1.8.9",
26
+ "@nocobase/database": "1.8.9",
27
+ "@nocobase/actions": "1.8.9",
28
+ "@nocobase/resourcer": "1.8.9",
29
+ "@nocobase/test": "1.8.9",
30
+ "@nocobase/plugin-workflow-test": "1.8.9",
31
31
  "@formily/core": "2.3.0",
32
32
  "sequelize": "6.35.2"
33
33
  };
@@ -110,7 +110,7 @@ class ManualInstruction_default extends import_plugin_workflow.Instruction {
110
110
  async run(node, prevJob, processor) {
111
111
  const { mode, ...config } = node.config;
112
112
  const assignees = [...new Set(processor.getParsedValue(config.assignees, node.id).flat().filter(Boolean))];
113
- const job = await processor.saveJob({
113
+ const job = processor.saveJob({
114
114
  status: assignees.length ? import_plugin_workflow.JOB_STATUS.PENDING : import_plugin_workflow.JOB_STATUS.RESOLVED,
115
115
  result: mode ? [] : null,
116
116
  nodeId: node.id,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "工作流:人工处理节点",
5
5
  "description": "Could be used for workflows which some of decisions are made by users.",
6
6
  "description.zh-CN": "用于人工控制部分决策的流程。",
7
- "version": "1.8.8",
7
+ "version": "1.8.9",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "homepage": "https://docs.nocobase.com/handbook/workflow-manual",
@@ -30,7 +30,7 @@
30
30
  "@nocobase/test": "1.x",
31
31
  "@nocobase/utils": "1.x"
32
32
  },
33
- "gitHead": "33a6e5154a9b6b2ffe1a7919b91f23304e97c5c5",
33
+ "gitHead": "ee39926d3c671d2e3a6f3a76c586c06e4cc6a353",
34
34
  "keywords": [
35
35
  "Workflow"
36
36
  ]