有待我批准的文档-SharePoint在线 [英] Document pending for my approval -SharePoint online

查看:84
本文介绍了有待我批准的文档-SharePoint在线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

专家们,

我正在尝试获取所有待审批的文档,这些文档需要在SharePoint Online中进行在线批准. /span>

I am trying to fetch all documents pending for my approval in SharePoint online.

有人能建议我如何实现这一目标,我们有能力待通过以下搜索查询批准的所有文档,现在需要的文档必须是 被我批准.

Can any body suggest me to how to achieve this , we are able to get all document pending for approval by the below search query and now want documents which has to be approved by me.

>

现在,我们再次检查我是否属于批准者组;显示文档,并希望避免进行此额外检查.

谢谢,

湿婆

推荐答案

与批准任务相关的信息(例如:分配给,状态,相关内容)存储在批准工作流任务列表.您需要过滤分配的所有未决审批任务 您或您所属的组 来自 任务列表,然后查找并显示任务的相关内容.

The approval task related information (such as: Assigned To, Status, Related Content) is stored in the approval workflow task lists. You need to filter all pending approval tasks assigned to you or a group of which you is a member from the task lists, then find and display the related contents of your tasks.

U se CAML查询( 会员资格 元素和CurrentUserGroups类型)以过滤分配给当前用户或分配给当前用户所属组的任务项.学习更多关于 CAML查询–成员资格属性.

Use CAML query (Membership Element and CurrentUserGroups Type) to filter on task items assigned to the current user or assigned to a group of which the current user is a member. Learn more about CAML Query – Membership attribute.

<And>
  <Or>
    <Membership Type='CurrentUserGroups'>
      <FieldRef Name='AssignedTo'/>
    </Membership>
    <Eq>
      <FieldRef Name='AssignedTo'></FieldRef>
      <Value Type='Integer'>
        <UserID/>
      </Value>
    </Eq>
  </Or>
  <Neq>
    <FieldRef Name='Status' />
    <Value Type='Text'>Completed</Value>
  </Neq>
</And>



环绕所有任务列表以获取所有任务,然后从这些任务中检索相关内容.

最好的问候,

Linda(张)


这篇关于有待我批准的文档-SharePoint在线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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