cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (9,063)