
Announcements
Hello,
I have an original SPO "When an item is created" flow with some updates action inside, so never implemented the modified one.
In the past days I implemented a flow with the trigger "When and item or a file is modified" bound to the previous flow, found that I can assign a service account and also add in the trigger properties the condition:
@not(equals(triggerBody()?['Editor']?['Email'],'serviceaccount@mydomain.com'))
that works well in that trigger (where I have some updates action) and have no trigger loop.
However, if I create and item with the first flow, with only the creation trigger, where I have also some updates action, when I have the approval, I have 2 requests; I had supposed that the condition in the second flow would have worked even when I had had the updates on the first flow, but it seems that it doesn't work.
Any idea on how I can avoid the second approval request that is also bound to the updates action in the first flow?
@mmangiante i am not sure if understand your issue correctly, so you are trying to update the item from first flow (which is triggered on creation) and it is resulting in to triggering of second flow (when item is created or modified)? Or when item is created both of the flows are triggering, is that an issue?