本文介绍了如何防止复合活动在子项完成之前消失?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好! 如果我们进行Parallel活动,则直到所有子项都完成后,该活动才能完成.等待中的孩子如何完成,即如何在所有孩子完成后立即使他们平行入睡和起床? 最诚挚的问候, Henrik Dahl
Hello!If we take the Parallel activity, it does not complete until all it's children have completed. How is the awaiting children's completion achieved, i.e. how to make Parallel to sleep and wake up at the moment all children have completed?Best regards,Henrik Dahl
推荐答案并行活动尤其是在所有子项都已完成或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?
更多推荐
如何防止复合活动在子项完成之前消失?
发布评论