如何防止复合活动在子项完成之前消失? [英] How to prevent a compound activity falls through until its children have completed?

查看:86
本文介绍了如何防止复合活动在子项完成之前消失?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

如果我们进行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?


这篇关于如何防止复合活动在子项完成之前消失?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆