cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ConwayHR
Frequent Visitor

Creating a New Date Based on Another Date and a Rule

I have a flow setup that will add a new to-do based on a subject in an email I receive.

 

The email contains new hire information such as name, department, hire date, and phone number. I am wanting to use the hire date that creates a new date for when the employee's insurance will be effective.

 

An employee's insurance is active on the first of the month following a 30-day waiting period.

 

For instance, if Luke Skywalker gets hired today, his insurance would be effective on 08/01/2022.

Darth Vader will be hired on 07/01/2022 and his insurance will also be effective on 08/01/2022 since July has 31 days and he was hired on the first day.

 

I am guessing that I can probably create the effective date with compose, as I already have the hire date split. I am unsure what formula I would use.

 

Any advice or recommendations?

 

 

Screenshot 2022-06-24 111648.png

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User
Super User

@ConwayHR 

See my example below for the calculation of the coverage date:

image.png

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

2 REPLIES 2
ScottShearer
Super User
Super User

@ConwayHR 

See my example below for the calculation of the coverage date:

image.png

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Thank you so much! That did the trick! 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,840)