cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

Trigger Condition for Outlook Appointment Category

Hi,

 

I'm trying to create a trigger condition against an Outlook 'When an event is added, updated or deleted' trigger.

I would like the flow to trigger only if an Appointment has a 'Client Appointment' Category set.

 

The issue is this value is presented as an array when a category is selected because multiple categories can be assigned to an appointment.

 

Example 

"categories": [
"Client Appointment"]
 
Can anyone provide the syntax for the Trigger Condition when the categories value contains 'Client Appointment'
Thanks in advance
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Trigger Condition for Outlook Appointment Category

Hi @AInglis ,

 

The setting for the trigger should as below:

1.png 

Expression in the trigger condition should as below:

@contains(triggerBody()?['Categories'], 'Client Appointment')

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Trigger Condition for Outlook Appointment Category

Hi @AInglis ,

 

The setting for the trigger should as below:

1.png 

Expression in the trigger condition should as below:

@contains(triggerBody()?['Categories'], 'Client Appointment')

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,725)