How do I resolve this?
I have two flows and both are being triggered when a new item is created.
Solved! Go to Solution.
@Alamsince the initial post was written some things have changed from Microsoft Flow.
I did follow what is written at the post like in the picture below
i have two flows:
my problem is that when I create a new item then it also kicks in the Edit flow with name "TEST-EDIT".
any idea of what I am doing wrong?
that trigger does not work properly, because Created and Modified date are Always different by a few seconds.
I can recommend to you to Format those Dates, so you only have date, Hours and minutes left, no seconds.
After that you can compare Created and Modified date. Like this:
Here are the formulas:
There's an easier way to get ONLY WHEN MODIFIED.
Select the trigger: When an item is created or modified.
Click on the ...
Scroll down to Trigger Conditions
Click + Add
Enter this: @not(equals(triggerBody()?['Created'],triggerBody()?['Modified']))
I hope this helps somebody at some point in the future. 🙂