cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

"When an upcoming event is starting soon (V3)" gets triggered even when an event is cancelled

I have created a flow using Power Automate in MS Teams. When an upcoming event in my Outlook starts in the next 20 mins, then "When an upcoming event is starting soon (V3)" trigger will get triggered and send me an adaptive card (created by me) in teams.

It works fine. No issues.

But the problem is, this flow gets triggered even when an event is canceled. I don't want the flow to get triggered if an event is canceled.

Is there any dynamic field supplied by "When an upcoming event is starting soon (V3)" trigger that can help me to filter out the canceled events? so that I can create an "if" condition to trigger flow based on the value of that field.

 

Or is there any other way to not triggering the flow when an event is canceled?

 

My flow card that is received on cancellation of an event is attached below:

abi_123_0-1624353095194.png

 

Can anyone help me out with that?

 

Thanks in advance

2 ACCEPTED SOLUTIONS

Accepted Solutions
joe_hannes_col
Skilled Sharer
Skilled Sharer

Hello @Anonymous,

 

You could insert a Condition action that checks if the subject of your upcoming meeting does not contain "Canceled":

joe_hannes_col_0-1624367004311.png

You could then create your card if the statement is true (or false, depending on your condition).

View solution in original post

Expiscornovus
Super User
Super User

Hi @Anonymous,

 

You could add a trigger condition to the settings of the trigger action:

@not(startsWith(triggerOutputs()?['body/subject'], 'Canceled: '))

 

subjecttriggercondition.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

3 REPLIES 3
joe_hannes_col
Skilled Sharer
Skilled Sharer

Hello @Anonymous,

 

You could insert a Condition action that checks if the subject of your upcoming meeting does not contain "Canceled":

joe_hannes_col_0-1624367004311.png

You could then create your card if the statement is true (or false, depending on your condition).

Expiscornovus
Super User
Super User

Hi @Anonymous,

 

You could add a trigger condition to the settings of the trigger action:

@not(startsWith(triggerOutputs()?['body/subject'], 'Canceled: '))

 

subjecttriggercondition.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


v-LilyW-msft
Community Support
Community Support

Hi @Anonymous 

Please take a try with @Expiscornovus and @joe_hannes_col 's solution and please feel free to ask here if you have any problems.

If your issue is solved, please consider Accept it as the solution to help the other members find it more quickly.

Best Regards

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.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,946)