cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
abi_123
New Member

"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
Continued Contributor
Continued Contributor

Hello @abi_123,

 

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 @abi_123,

 

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

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

 

subjecttriggercondition.png

View solution in original post

3 REPLIES 3
joe_hannes_col
Continued Contributor
Continued Contributor

Hello @abi_123,

 

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 @abi_123,

 

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

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

 

subjecttriggercondition.png

View solution in original post

v-LilyW-msft
Community Support
Community Support

Hi @abi_123 

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,069)