Forum Discussion
Document set approval of default content & batch approval
So I was able to find a way to loop through the entire library approving documents and folders using Call HTTP web service actions in a workflow /Approve for files and OData__ModerationStatus = 0 for folders and document sets.
I took the same logic and applied it to an on create workflow checked if the content type was a document set or derived document set by checking the Content Type ID against 0x0120D520 the problem I have now is that the document set fires and then all the default files fire separately. Is there a way to check if all the document set's default file and folder structure has been created and delay the workflow until it's done? Or am I stuck just running it manually after creating the document set (which is still significantly less effort than manually approving all the default files and folders created)
Thank you in advance for any assistance.