@mldong/jeeflow 1.8.45 → 1.8.47
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.
- package/dist/facade.js +14 -3
- package/package.json +1 -1
package/dist/facade.js
CHANGED
|
@@ -375,7 +375,9 @@ export class JeeflowFacade {
|
|
|
375
375
|
if (startNextOp != null && String(startNextOp) !== '') {
|
|
376
376
|
flowArgs[KeyNextNodeOperator] = startNextOp;
|
|
377
377
|
}
|
|
378
|
-
|
|
378
|
+
// issues/176:spec 04:60-62——apply 节点由 flow.auto 代执行(operator 列=flow.auto,
|
|
379
|
+
// 不进发起人已办);u_* 由发起腿留下、引擎对 flow.auto 跳过注入(对齐 boot2 :317)
|
|
380
|
+
await this.engine.executeProcessTask(task.id, KeyAutoExecute, flowArgs);
|
|
379
381
|
}
|
|
380
382
|
return { processInstanceId: inst.id };
|
|
381
383
|
}
|
|
@@ -1227,7 +1229,16 @@ export class JeeflowFacade {
|
|
|
1227
1229
|
const result = [];
|
|
1228
1230
|
const visited = new Set();
|
|
1229
1231
|
const collect = async (node) => {
|
|
1230
|
-
|
|
1232
|
+
// issues/177 R11:顶层优先、`field` 子对象兜底(形状对齐 163 会签条件腿)
|
|
1233
|
+
const props = node.properties ?? {};
|
|
1234
|
+
const fld = props.field ?? {};
|
|
1235
|
+
const propStr = (key) => {
|
|
1236
|
+
const top = props[key];
|
|
1237
|
+
if (top)
|
|
1238
|
+
return top;
|
|
1239
|
+
return fld[key];
|
|
1240
|
+
};
|
|
1241
|
+
const v = propStr('candidateUsers');
|
|
1231
1242
|
if (v) {
|
|
1232
1243
|
for (const s of String(v).split(',')) {
|
|
1233
1244
|
const t = s.trim();
|
|
@@ -1236,7 +1247,7 @@ export class JeeflowFacade {
|
|
|
1236
1247
|
}
|
|
1237
1248
|
}
|
|
1238
1249
|
// candidateGroups:按角色取人(v1.6.0,对齐 boot4 GlobalCandidateHandler)
|
|
1239
|
-
const g =
|
|
1250
|
+
const g = propStr('candidateGroups');
|
|
1240
1251
|
if (g && this.orgProv) {
|
|
1241
1252
|
for (const rc of String(g).split(',')) {
|
|
1242
1253
|
const role = rc.trim();
|