如何使文档库中的文档只有在获得批准后才可见 - 我正在使用OOTB文档审批设计器工作流程 [英] how to make documents in document library to be visible only after its gets approved-I am using OOTB document approval designer workflow

查看:102
本文介绍了如何使文档库中的文档只有在获得批准后才可见 - 我正在使用OOTB文档审批设计器工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何使文档库中的文档在获得批准后才可见 - 我正在使用OOTB文档审批设计器工作流。在SharePoint 2010内部部署


如果作者在批准后更改了文档,系统应再次触发工作流程,使其等待处理。通过启用WF来触发当前的项目编辑,这也正常工作。我无法启用"内容审批"因此,在"Item
Edit"上工作流程无法更改"审批状态"列回到待处理状态。



我的最后一个问题是现在没有启用"内容审批"并且仅使用"OOTB" WF是待审批的文件,也可以看到所有"阅读"文件。访问目前包括作者和审批者的用户。


我想将此文档显示为"读取"只有用户获得批准后才能使用。我们怎样才能实现这个OOTB




谢谢& amp;此致,Krishna




$

解决方案


我们可以使用工作流程更改项目的权限。


以下是$ b中的演示$ b
此博客

此博客


但它会更改项目权限。如果需要内容审批,有权阅读内容但无权查看草稿项目的人将会看到该文件的最后一个
已批准或主要版本。使用工作流程,这些用户将看不到文件的最后批准或主要版本,因为他们没有权限。


此外,工作流程状态的更改不是项目编辑事件,也不会触发工作流程。在批准后,很难自动启动用于更改当前项目的
权限的工作流程。


作为变通方法,您可以使用事件接收器根据条件启动批准工作流程 - 内容审批状态为待定。


Best  respect ,


Linda 张


Hi,

how to make documents in document library to be visible only after its gets approved-I am using OOTB document approval designer workflow.In SharePoint 2010 On premise

If author changes the document after approved, system should trigger the workflow again making it pending. Which also working fine by enabling WF to get trigger on Edit of item currently. I cant enable "content Approval" on this since on "Item Edit" workflow not able to change the "Approval status" column back to pending.

My final issue now with out enabling "Content Approval" and only using "OOTB" WF is ,document which are pending for Approval also getting visible to all "Read" access users currently including ,Authors and Approvers.

I want to show this documents to "Read" only users only after they get approved. How can we achieve this OOTB


Thanks & Regards, Krishna

解决方案

Hi,

We can change the permissions for the items using the workflow.

Here are demos in this blog and this blog.

But it changes the item permissions. When content approval is required, people who have permission to read content but do not have permission to see draft items will see the last approved or major version of the file. Using the workflow, these user will not see the last approved or major version of the file as they has not permissions on it.

In addition, the change of workflow status is not an item edit event and it will not trigger the workflow. It is difficult to automatically start the workflow which is used to change permissions on the current item after it is approved.

As a workaround, you can use the Event Receiver to start the approval workflow based on the condition – Content Approval status is Pending.

Best regards,

Linda Zhang


这篇关于如何使文档库中的文档只有在获得批准后才可见 - 我正在使用OOTB文档审批设计器工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆