Domanda

I have the following workflow snippet:

Workflow Snippet

However, the Set content approval piece isn't actually updating the Folder's status to Approved (it is remaining "Pending" after the workflow completes). Is there a different way I need to go about setting this for folders?

È stato utile?

Soluzione 2

The issue here was that after setting the status of the folder to Approved I was then changing the workflow status, which functions as modifying the metadata for the folder. By switching the order and setting the workflow status before Approving, the folder now properly displays as Approved when the workflow runs.

Altri suggerimenti

You are using Content Approval and SharePoint Designer workflow with 2013 workflow platform type.

I have reproduced it.

You need to use the SharePoint workflow 2010 platform type instead. Per my testing results, it works.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top