Hello folks,
I have written a flow that basically sends an email to specific people when publishing a SharePoint News.
As trigger I use the "SharePoint File created or modified".
Since the flow should only start when it is a news and it was published for the first time (page version 1.0), For that I added the following trigger conditions:
@equals(triggerOutputs()?['body/{VersionNumber}'], '1.0')
@equals(triggerOutputs()?['body/PromotedState'], 2)
Now it comes to the phenomenon that the flow starts and runs several times in a row when publishing a page for the first time. If I look at the individual runs, all triggers have the same information -> Page VersionNumber 1.0.
I.e. the page was not edited again and therefore the flow should run only once.
If someone knows the phenomenon or has an explanation, I would be very happy. Thanks a lot.