cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alimsab
Level: Powered On

SP Calendar - trigger flow based on dropdown list

Hi All,

Flow Newbie!
Great app and really want it to work to demo to others.

I've be searching online but cannot find anything.

I've created standard approvals for the different selections but when one is created, it triggers them all?

I have a team calendar with a column called Category. This is a dropdown list and mandatory when you create an item.
I want Flow to do one of the following based on the dropdown selection.
1. Annual Leave
Get manager and send for approval
2. Client Meeting
Get manager and send for approval (the message body needs to contain travel details (user must complete) for authorisation as well)
3. Out of Office
Get manager and send for approval (Exception: Must NOT trigger if it's the team manager!)

Any help would be appreciated.
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: SP Calendar - trigger flow based on dropdown list

Hi @Alimsab,

 

According to your description, I created a flow using the Switch cases. There are three cases based on the categories, Annual leave, Client Meeting, Out of Office.

 

Please check the following screenshot.

 

Please make sure you have set all users’ Manager field in the Azure Active Directory. Otherwise the action won’t return the email of the Manager.

 

About case Out of Office, as you don’t want to send out email if the creator is the Manager, you could use a Condition to check it. If it isn’t the Manager, Get manager and send approval email.

1.PNG

 

Please take a try with it on your side.

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
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

4 REPLIES 4
Community Support Team
Community Support Team

Re: SP Calendar - trigger flow based on dropdown list

Hi @Alimsab,

 

According to your description, I created a flow using the Switch cases. There are three cases based on the categories, Annual leave, Client Meeting, Out of Office.

 

Please check the following screenshot.

 

Please make sure you have set all users’ Manager field in the Azure Active Directory. Otherwise the action won’t return the email of the Manager.

 

About case Out of Office, as you don’t want to send out email if the creator is the Manager, you could use a Condition to check it. If it isn’t the Manager, Get manager and send approval email.

1.PNG

 

Please take a try with it on your side.

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
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

Alimsab
Level: Powered On

Re: SP Calendar - trigger flow based on dropdown list

Nice one @v-yamao-msft

Will check it out.

Thanks,

Al

Administrator
Administrator

Re: SP Calendar - trigger flow based on dropdown list

Hello, @Alimsab!

Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Alimsab
Level: Powered On

Re: SP Calendar - trigger flow based on dropdown list

Thanks for the reminder! 🙂

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,171)