cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daisiechain
New Member

Require the workflow run each day

Hello,

 

I'm hoping someone on here might be able to assist me. I have a list where a referral can be submitted. After the interview process so on and so forth someone in HR will edit the item and put in a Hire Date. At that point I have a calculated column that will automatically take the Hire Date and add 120 days. I need the workflow to check each day to see if the date in the +120 Days column is equal to that day and start an approval workflow. The HR person doing the approval is checking to see if the person hired is still employed at the end of 120 days. If they are, HR approves, and an email goes to Accounting. 

 

I'm having difficulties getting the workflow to check each day for a date in the +120 days column that is equal to Today. 

 

I've been using SharePoint Designer and I can't get that part of it to work. So I thought perhaps Flow would be a better tool.

 

I'd appreciate any help given.

 

Thanks!

Lisa

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @daisiechain,

 

According to your requirement, I create the following Flow to achieve your goal:

  1. Create a Recurrence trigger runs at 9:00 every day
  2. Get items from the list.
  3. Create an Apply to each action, then put the value of List in it and create a condition that determines the +120days column whether equal to today - utcNow('yyyy-MM-dd'), because the column format in the SharePoint is "yyyy-MM-dd", so we need to Unified format the utcNow.
  4. If yes, send approval or send an email (in the screenshot it is sending an email).

Annotation 2019-12-17 111558.png

 

Best Regards,
Community Support Team _ Lin Tu
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-litu-msft
Community Support
Community Support

Hi @daisiechain,

 

According to your requirement, I create the following Flow to achieve your goal:

  1. Create a Recurrence trigger runs at 9:00 every day
  2. Get items from the list.
  3. Create an Apply to each action, then put the value of List in it and create a condition that determines the +120days column whether equal to today - utcNow('yyyy-MM-dd'), because the column format in the SharePoint is "yyyy-MM-dd", so we need to Unified format the utcNow.
  4. If yes, send approval or send an email (in the screenshot it is sending an email).

Annotation 2019-12-17 111558.png

 

Best Regards,
Community Support Team _ Lin Tu
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

Users online (79,750)