Skip to main content
Nintex Community Menu Bar

Trigger workflow based on the number of elapsed days

  • March 5, 2020
  • 1 reply
  • 10 views

AndrewRobinson
Forum|alt.badge.img+2

I have a SP list of staff names, employee number and a date they went on leave. I'm trying to create a workflow which will look at this list once a day and, if the date the employee went on leave is 24 days or greater than the current day, collect the staff name, employee number and the date they went on leave then send a person an email.

 

I'm runninging into problems on how the workflow calculates the difference between dates, how is it stored and how that date difference triggers the workflow.

 

Thanks

Andrew

1 reply

Michel
Nintex Partner
Forum|alt.badge.img+7
  • Nintex Partner
  • March 5, 2020
Hi Andrew,

I would suggest creating two workflows, one site workflow that runs daily to check the number of days an employee is on leave and a list workflow that manages the e-mail sent to the person.

The site workflow, which runs daily, checks the list of Employees on leave. If the date on leave exceeds the 24 days, the list workflow will be started to send the e-mail.