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

编程入门 行业动态 更新时间:2024-10-24 06:34:58
本文介绍了如何防止复合活动在子项完成之前消失?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

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

更多推荐

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

本文发布于:2023-11-27 07:11:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1637090.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何防止

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!