cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JeromeV
Level: Power Up

Leave application approval workflow with Sharepoint calendar

Hi Guys,

 

I created a leave application workflow that executes once a new item is created in a list. It is working fine but I would like to add the approved request to a calendar that I created in Sharepoint or if that is not possible then to an office 365 account calendar.

 

I would like it to show the requestor name and then book the dates in the calendar.

 

Kind Regards

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Leave application approval workflow with Sharepoint calendar

Hi JeromeV,

 

You scenario is available. We could use SharePoint Calendar list in Flow.


When you are trying to use the default Calendar list in SharePoint, please click the “Enter custom value” for the List name field, then enter the name of the list you have created.


I have created a flow to test this issue, please see the following screenshot.


In List4, there is two date columns, Start and End. In the action “Create item”, you could select Start and End for Start Time field and End Time field.


To show the name of the requestor, you could consider to use the dynamic content “Created by DisplayName”.

3.PNG

 

Please take it for a reference and have a try with it on your side.


If you need more help, please feel free post back.

 

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

3 REPLIES 3
Community Support Team
Community Support Team

Re: Leave application approval workflow with Sharepoint calendar

Hi JeromeV,

 

You scenario is available. We could use SharePoint Calendar list in Flow.


When you are trying to use the default Calendar list in SharePoint, please click the “Enter custom value” for the List name field, then enter the name of the list you have created.


I have created a flow to test this issue, please see the following screenshot.


In List4, there is two date columns, Start and End. In the action “Create item”, you could select Start and End for Start Time field and End Time field.


To show the name of the requestor, you could consider to use the dynamic content “Created by DisplayName”.

3.PNG

 

Please take it for a reference and have a try with it on your side.


If you need more help, please feel free post back.

 

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

JeromeV
Level: Power Up

Re: Leave application approval workflow with Sharepoint calendar

Hi Mabel,

 

Thanks for your response and your recommendation worked 🙂

 

Once leave is approved it creates the calendar item now

 

Kind Regards

psedgwick2
Level: Powered On

Re: Leave application approval workflow with Sharepoint calendar

This was very helpful but I do have another question about this.  If the request is denied, how do you set up the "if no" section in FLOW so that it deletes the original "item created".  I want to make sure that I only delete the original item created and not all the other items that are on that list.  In this case it would be appointments displaying on the SharePoint calendar.  If an employee adds an appointment to the sharepoint calendar, manager declines the request, how do I make sure that appointment added is removed.  Thanks!

Helpful resources

Announcements
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 Kudoed Authors
Users Online
Currently online: 97 members 4,875 guests
Please welcome our newest community members: