如何在以前的更高级别重新输入流程图工作流程
我有一个 .xamlx 流程图工作流程,用于对审批流程进行建模。如果提交者在流程图完成之前更改文档,我希望提交者“重新提交”该文档。我以为我只能再次调用第一个接收活动,但我认为工作流程正在认识到它已经进一步发展并且正在退出。
在“重新提交”之前我需要“取消”工作流程吗?或者也许我只需要稍后在提交者调用的流程图中使用另一个方法?任何帮助表示赞赏。
I have a .xamlx flowchart workflow that models an approval process. if the submitter changes the document before the flowchart has finished, I want the submitter to 'resubmit' the document. I thought I would just be able to call the first receive activity again, but I think the workflow is recognizing it is already further along and is exiting.
Do I need to 'cancel' the workflow before 'resubmitting'? Or perhaps I just need another method later in the flowchart that the submitter calls? Any help is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在流程图中创建任何所需的分支。因此您可以循环回到工作流程的顶部。不过,您确实需要在工作流程中明确地对此进行建模。
You can create any branch you want in a flowchart. So you can just loop back to the top of the workflow. You do need to model this explicitly in your workflow though.
@Maurice 是正确的 MOL。我可以将原始接收复制到工作流程中稍后的位置。但为了使其正常工作,第一次接收需要将 CorrelatesOn 和 CorrelationInitializers 设置为相同的 Correlation Handle 变量。 “复制”只需要设置 CorrelatesOn 属性。这可能是显而易见的,但由于我不知道,我在这里记录以防其他人遇到同样的问题。
@Maurice was correct MOL. I could copy the original Receive to a later place in the workflow. But in order for it to work correctly, the first receive needed both it CorrelatesOn and CorrelationInitializers set to the same Correlation Handle variable. The 'copy' only needed the CorrelatesOn property set. Thay may have been obvious but since I didn't know it, I'm documenting here in case anyone else gets the same issue.