内置审批工作流程未在项目编辑事件上启动
我有一个要求,当用户在列表中输入新项目时,首先批准者批准它,然后发布者批准它。一旦发布者批准,文本将对所有人可见。
我使用了 Approval 中内置的 SharePoint,将工作流程设置为在创建新项目和更改项目时启动。
当我添加新项目时,工作流触发器和批准项目的过程运行良好,并将工作流状态更新为已完成。
但是,当我编辑同一项目时,不会触发项目更改的工作流程。
谁能告诉我如何设置 SharePoint 内置工作流以在创建的新项目以及项目更改事件上启动。
仅供参考:我已在版本控制设置中将内容批准设置为“否”。
I have requirement where when a user enter new item in a list first approver approves it then publisher approves it. Once publisher approves it the text will be visible to all.
I have used SharePoint built in Approval for that where I have set my workflow to start when new item created and item is changed.
When I Add new item workflow triggers and process of approving the item works fine and update the workflow status as completed.
But when I edit the same item, Workflow on item changed is not fired.
Can any one tell me how to set SharePoint built in workflow to start on new item created as well as item change events.
FYI: I have set content approval to "No" in my versioning settings.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过大量调查后,我发现我选中了“工作流程完成后:更新审批状态(使用此工作流程控制内容审批)”复选框。
在这里,我没有为我的列表选择“需要批准内容”选项,对于同一列表,我会在工作流程完成后更新批准状态。
我观察到的是,取消选择此选项我的工作流程在创建新项目和项目更改事件时成功触发。
After lots of investigation I found that I have selected checkBox for "After the workflow is completed: Update the approval status (use this workflow to control content approval)".
Here I have not selected require content to be approved option for my list and for the same list I was updating approval status once workflow get completed.
What I observed is deselecting this option my workflow get fired successfully on new item created and Item change events.
要使该复选框为您工作,您需要设置在库级别启用内容审批。如果没有,它将因后台错误而失败。
To make the checkbox work for you, you need to setup content approval enabled on the library level. If not, it is going to fail with an error in the backgound.