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

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
v-yamao-msft
Community Support
Community Support

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
v-yamao-msft
Community Support
Community Support

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

Hi Mabel,

 

Thanks for your response and your recommendation worked 🙂

 

Once leave is approved it creates the calendar item now

 

Kind Regards

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,638)