Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Does anyone have a solution to leave counting in shifts?



I’ve been scratching my head about how to display leave requests to my team. In the UK we have an allocation that we want to make sure our team members don’t exceed. 

What I’d like to do is create a means to display to each team member the amount of leave they have requested or scheduled. 

I’ve tried to use the shifts connector to access requests but there are some limitations. For example, if I create a request through the “requests function” it will trigger my flow that starts “when a request is created”. However, if you manually add time off in the shifts calendar it doesn’t trigger. Not everyone likes to use the app to request holiday - not everyone is on board to doing it this way yet. So there are times when you have to manually add leave. 

any help or guidance/steering on this would be much appreciated. I’d like to retain using shifts where possible because it integrates nicely with planning for our team members. 



Community Champion
Community Champion

The When a Time Off request is created, updated or deleted trigger should trigger on any time off creation or update through Shifts. If they don't want to use Shifts, you may be able to build a secondary flow or a parallel branch of your flow that triggers based upon the calendar itself. 

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE. Want to know more? Follow @BradGroux on Twitter, and check out my Medium blog at

Helper II
Helper II

Hi Brad,


Thanks for your reply; thank you for suggesting that the trigger should power regardless of whether it’s through the app or manual created in the teams calendar. However, it’s not doing that which I guess is why I’m scratching my head. The only time it seems to work is if you make a request through the app and then confirm it. Manually creating one in the planner table/calendar doesn’t get actioned by the trigger in flow. 

My flow currently tries to watch for created requests and then ultimately write the different types of leave I have to a SharePoint list as this is the only way I figure I can create a “hr dashboard” with leave. 

anyway, my flow looks like:


1) triggered by creation 


2) I’ve got some variables but then have conditioned by created



3) if it’s created then i try to query the time off request 


4) I then use get user to get the ID of the user and the manager who accepted the request 




5) I then set the variable initialised at the beginning to get the user and then manager and interchange with their display name 



5) I then condition that by the time off request ID to filter by the different leave display names



If it’s correct it then passes to a compose which replaces the TOR ID with a text string, in this case “holiday”

6) it then writes to a SharePoint list the fields I want;



and finally to an outlook group calendar. 

The main difference I guess that I’m experiencing is that when I create the leave request for say somebody else using shifts, nothing is triggered. 

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,447)