有没有人知道如何在列表项的modeRingEnformation.Status更改时停止运行自定义批准工作流程? 我有一个我使用Visual Studio写的自定义批准工作流程。它与列表相关联,并在此列表中的任何项目更改时触发。 我的问题是,当工作流失败(无论是什么原因)和管理员权限的用户权限,然后手动批准更改(不是通过工作流程),工作流程将再次启动。有人可以建议阻止它的方法吗?或者我做错了什么?

有帮助吗?

解决方案

Get the approval status early in the execution (during onworkflowactivated), the workflow only need to be executed fully if the target item Approval Status is still pending. Then right below the onworkflowactivated activity drag drop an if-else activity to check the Approval Status value. If it still pending then execute the rest of the workflow and if it is not pending, terminate the workflow. You can refer here for more details. Hope this helps

许可以下: CC-BY-SA归因
scroll top