I'd like to have the team to work on documents stored in a specific sharepoint folder undisturbed. However, whenever they think that a document is to leave the draft status and is ready for plublication (i.e. whenever they publish a document) I would like to trigger an approval flow. My approach boils down to this:
1- get the file details using a SharePoint: When a file is created or modified (properties only action)
2- Setup a condition that would test whether the Approval Status was changed to Pending.
3A - If it is set to Pending, then start the approval flow
3B - If it is not set to pending, then ingore the trigger - since it is caused by another event
I can't figure out how to write the condition, i.e. how to set it up so that i can test the Approve Status Value. (identify whether the trigger is fired by a publish action)
Any thoughts?