【问题标题】:Set (content) approval status in workflow [Sharepoint 2013]在工作流中设置(内容)审批状态 [Sharepoint 2013]
【发布时间】:2017-06-01 13:54:41
【问题描述】:

我有一个包含已批准和未批准项目的自定义列表。

现在我创建了一个工作流来更改其中一个字段的值。

问题是:运行该工作流程后,该项目的审批状态自动设置为“待处理”。但我不想改变这个状态。

我尝试打开/关闭“自动将工作流状态更新为当前阶段名称”复选框,但没有效果。 我还尝试在工作流程中设置变量:

Set Variable: ApprovStatus to CurrentElement:Approval Status

then Update item in CurrentElement

then Set Workflow Status to Variable: ApprovStatus


Go to End of Workflow

如何保持当前的审批状态(或将其设置为之前的值)?

当一个项目(手动)获得批准时,它是否也可以工作?

【问题讨论】:

    标签: sharepoint workflow


    【解决方案1】:

    我明白了! 解决方案是使用 Sharepoint 2010 工作流程而不是 2013:

        Set Variable: AprSt to Current Element:Approval Status
        Update item in Current Element
        If Variable: AprSt not equals 0;#Approved
            Set content approval status to Pending with comments
        Else
            Set content approval status to Approved with comments
    

    现在可以了。

    【讨论】:

      猜你喜欢
      • 2014-10-14
      • 2010-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多