如何在以前的更高级别重新输入流程图工作流程

发布于 2024-12-09 05:27:50 字数 188 浏览 0 评论 0原文

我有一个 .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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

多孤肩上扛 2024-12-16 05:27:50

您可以在流程图中创建任何所需的分支。因此您可以循环回到工作流程的顶部。不过,您确实需要在工作流程中明确地对此进行建模。

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.

浅沫记忆 2024-12-16 05:27:50

@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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文