修复并行只执行第一个动作问题

This commit is contained in:
zhouhao 2023-01-08 10:01:06 +08:00
parent b32d2fddbc
commit d76b599ddd
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ public class SceneRule implements Serializable {
//多个并行执行动作
String[] nodeIds = new String[size];
for (int i = 0; i < nodeIds.length; i++) {
nodeIds[0] = createBranchActionId(_branchIndex, thenIndex, 1 + (i + 1));
nodeIds[i] = createBranchActionId(_branchIndex, thenIndex, 1 + (i + 1));
}
Flux<String> nodeIdFlux = Flux.fromArray(nodeIds);
//并行