cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Need help calculating non-conventional week-off

Hello,

 

I have created a flow that fetched information from SP list and calculates if an employee has missed logging hours on daily basis and sends out an email if someone misses to log. It works fine. Now I have an issue when it comes to calculating non-conventional week-offs, like if an employee has week-off on Tuesday and Wednesday. 

 

I have a couple of theories but not sure if they are reliable.

1. Calculate if an employee has worked/logged for 5 continuous days, including leaves/time-offs, and consider 6 and 7th day as week-off

2. Calculate number of hours worked in a week (lets say 40 hours/week). If the count reaches 40 hours then the next 2 days are week-offs.

3. Maybe combining both the logic?  

 

 

Need some help on calculating the same. Any suggestions/help is very much appreciated.

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Need help calculating non-conventional week-off

@newLinuxNoob 

 

I'd say the second option would be simpler? Can you post a picture of your flow please?

 

Thanks.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Top Kudoed Authors
Users online (10,306)