I have a Document Set with four (4) different files. Since each file can be updated separately on-demanded, I decided to implement a workflow that runs on the selected file. Based on the approver response, I'm able to update the "content approval status" of the selected file. So far, everything works fine. However, I have an issue:
After four files (4) are approved, how can I update the "approval status" of the Document Set itself? All files are approved but the Document Set is still hidden to end-users because it has "pending" status.
Thanks in advance.
Depending on how critical timing is on this, I would probably create a recurring flow that would check all the document sets that have been modified since the last run time. Then for each document set loop through the documents in the set to check their approval status. If all are marked as approved update the approval status of the document set.
I don't think there is any way to do this automatically.
hi @efebo what I'll do is create a sharepoint list the the columns of the files approved for example
So if the all columns status will save as approve then the last column could be a calculated colum to add the condition and change the value, so if the value changes your documents set.
Here's a simple example. Its started with a manual trigger, but you could start it with a recurrence trigger to do this periodically. Once triggered it lists the files in a particular folder (document sets are special folders) then executes and Apply to each on the list to get the name of each document inside the folder. Instead of the compose I could check their status and set a variable to record the overall status.
How can we start the workflow on document set automatically based on condition? is there any action saying completed uploading documents to set. what should be the condition?
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.