2017-06-01 149 views
0

我有一个自定义列表,包含已批准和未批准的项目。在工作流程[Sharepoint 2013]中设置(内容)审批状态

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

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

我试图打开/关闭复选框“自动更新工作流程状态到当前阶段的名称”,但没有效果。 我也试图设置工作流程里面的变量:

Set Variable: ApprovStatus to CurrentElement:Approval Status 

then Update item in CurrentElement 

then Set Workflow Status to Variable: ApprovStatus 


Go to End of Workflow 

我怎样才能保持当前的审批状态(或者它的值设置为,这是之前)?

当一个项目被(手动)批准时,它也可以工作吗?

回答

0

我明白了! 解决方案是使用一个SharePoint 工作流程,而不是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 

现在,它的工作原理。

相关问题