cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RenéB
New Member

SharePoint File Trigger with Condition does not working

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:

RenB_0-1666187978083.png


@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.

0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,493)