Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何配置工作流以公开双向 void 操作?
这样: 1)调用者被阻塞直到操作完成, 2)调用者被通知异常(故障)
使用Receive+SendReply似乎很笨重。一方面,它给工作流程图添加了不必要的噪音。
Receive
SendReply
Receive 和 SendReply 对正是它的完成方式。我同意它为您的工作流程增加了许多不必要的复杂性。避免这种情况的最佳方法是创建一个单独的复合活动并将 Receive 和 SendReply 包装在其中。这样您就可以在工作流中看到简单的复合活动。