Forum Discussion
Stanley Pottle
Sep 15, 2017Copper Contributor
SharePoint Leave Request List Workflow using Microsoft Flow
Hi All,
I'm trying to create a Leave Request System in SharePoint using a custome list and Microsoft Flow. I've attached a picture of the Flow.
What I had intended the flow to do was to trigger on new item or modified item. Then to check and see if it was a new item or modified item that kicked off the flow. If it is a new item, update the status field to pending, in case, the user changes the default value form pending, then start the approval process. If the new item is approved, send an e-mail, update status to approved and then create a calendar item. If not approved, send e-mail to user, update item status with rejected, create the item in a new list, then delete the item form the list.
This is where the problem starts. When the flow updates the new item with pending status, this triggers the flow to start again because the item is now modified. I don't want this to happen.
How can I design this flow to be triggered on item creation or modify but not kick off the flow again form updates to the item that occur by the flow itself.
Any Help would be appreciated.
Regards
No RepliesBe the first to reply