且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何防止复合活动在子项完成之前消失?

更新时间:2023-12-02 08:28:22

并行活动尤其是在所有子项都已完成或CompletionCondition评估为true时完成(每次子项完成时都会评估条件) ).

不是在Parallel自身内部建模,而是为什么不将所有活动放在Parallel内部,然后在Parallel外部进行下一步操作?
The Parallel activity in particular completes when all it's children have completed or if the CompletionCondition evaluates to true (condition is evaluated every time a child completes).

Instead of modeling what you want inside the Parallel itself, why dont you put all the activities inside the Parallel and then do your next action outside of the Parallel?