cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mohamed
Helper II
Helper II

leave request system

1- I did make the day = 8 hours by flow

But I want to ask if employee want permission for 1 hour from the 8 hours on the actual day 1-8 = 7

how i make this by microsoft flow

2- i want make flow if 25/1/2019 is now dont calculate this day if my employee want request for vacation 

example  my employee want vacation  from 22/1/2019 to 30/1/2019 

dont calculate friday , sturday and 25/1/2019 how i make it  

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @mohamed ,

 

First question:

If you are using a SharePoint list, it is recommended to use Calculated column, which is the most appropriate way to solve the first problem.

The current actual working time is based on the distance hours and the default 8 hours subtraction to get the specific value.

25.PNG24.PNG

Second question:

 

Start the date from StartDate, use the loop to determine whether it is equal to EndDate, and then exclude the given dates to calculate the final number of days to leave.

Image reference:

26.PNG27.PNG28.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
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

1 REPLY 1
v-bacao-msft
Community Support
Community Support

Hi @mohamed ,

 

First question:

If you are using a SharePoint list, it is recommended to use Calculated column, which is the most appropriate way to solve the first problem.

The current actual working time is based on the distance hours and the default 8 hours subtraction to get the specific value.

25.PNG24.PNG

Second question:

 

Start the date from StartDate, use the loop to determine whether it is equal to EndDate, and then exclude the given dates to calculate the final number of days to leave.

Image reference:

26.PNG27.PNG28.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (44,226)