← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2285.f.7

定时器与边界超时

理解等级:中级

顺序流中的定时事件让实例在该位置等待指定时间;任务边界上的定时事件仅在任务活动时有效。示例中付款等待超过五天,边界事件取消当前任务并转入替代路径。把时限显式放进模型可表达业务策略,但超时后是否结束应由业务决定。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 开发流程方案 · 查看原书依据

      The second timer is a boundary event. In this case, the process can react to this event as long as it is waiting at that task. Here, that means we will wait five days for the payment to be retrieved; if that doesn’t happen the workflow engine cancels the task at hand (retrieve payment) and moves on via the alternative sequence flow to end the process

    参考来源

    - 位置:《Practical Process Automation》第3章《开发流程方案》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch03.xhtml) - 结论依据:原文中的定义、机制和适用条件支持上述解释,正文未将产品示例推广为所有引擎的保证。 - 原始内容:The second timer is a boundary event. In this case, the process can react to this event as long as it is waiting at that task. Here, that means we will wait five days for the payment to be retrieved; if that doesn’t happen the workflow engine cancels the task at hand (retrieve payment) and moves on via the alternative sequence flow to end the process