Hi!!
Please, help.
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.
hi @efebo could you share an screanshot from your flow?
Proud to be a Flownaut!
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
FileStatusAprove1 | FileStatusAprove2 | FileStatusAprove3 | FileStatusAprove4 | All |
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.
Proud to be a Flownaut!
Thanks, I will try and let you know.
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?
User | Count |
---|---|
87 | |
37 | |
25 | |
13 | |
12 |
User | Count |
---|---|
117 | |
55 | |
36 | |
23 | |
21 |