Flow info:
When an existing list item is modified from "Open" to "Closed" it triggers a "Approval" flow using "When An Item Is Created Or Modified". There are a large number of people who can change the list from "Open" to "Closed".
The problem occurs because the flow updates the SharePoint list with the approver's response, response date and comments. When the flow does this it triggers another flow because it is modifying the list a second time automatically and, for the second time, reads that it's "Closed" and sends out the approval.
I found a work-around by setting the default text in the "Open/Closed" field to "Pending" and I run a condition to check for "Pending" (If the flow sees "Pending" it continues, if the flow sees "Approved" or "Rejected" it terminates). Only downside is that the flow has to run twice for every instance.
Any ideas on how to prevent the second flow from running?
Any ideas for a workaround?