cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

How to send a reminder email for task completion before task due date

Jump to solution

Hi Team,

I am currently using nintex workflow in office 365, i want to send a reminder email before 7 days of task due date

i have been using this parallel block by using date comparison inf IF block but the email is triggering before the task, please let me know how can i do this.

Thanks,
Sarath.

Labels: (1)
Tags (1)
0 Kudos
Reply
9 Replies
Highlighted
Nintex Newbie

Re: How to send a reminder email for task completion before task due date

Jump to solution

You can run two parallel branches:

Branch1

Create the task and get the Task Item ID on a Workflow Variable varTaskID

Branch2

Pause 5 Minutes (So as to wait the created task)

Loop

Pause 1 hour

Read task by varTaskID

If (Due Date - 7) then send email

until task completed or (Due Date - 7)

View solution in original post

0 Kudos
Reply
Highlighted
Not applicable

Re: How to send a reminder email for task completion before task due date

Jump to solution

Hi Fernando,

Thanks for the update.

can you please tell me, how can i less days to 7 from today's date.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to send a reminder email for task completion before task due date

Jump to solution

You can use the action named "Add Time to Date" adding -7 days

0 Kudos
Reply
Highlighted
Not applicable

Re: How to send a reminder email for task completion before task due date

Jump to solution

I am seeing below error when i do the above step which you have mentioned

Resume this workflow

RequestorId: 2adb7f66-6130-2308-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime. Parameter name: value at System.DateTime.AddTicks(Int64 value) at Microsoft.Activities.Expressions.AddToDate.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) Exception from activity Add Time to Date Branch Parallel Block Sequence Flowchart Project Safety - Action Workflow.WorkflowXaml_54b0c9c1_00fe_45a1_85bc_5b59c0568ea4

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to send a reminder email for task completion before task due date

Jump to solution

Please can you show how have you set the action?

0 Kudos
Reply
Highlighted
Not applicable

Re: How to send a reminder email for task completion before task due date

Jump to solution

Please check below image, where Output 'Date' is DateTime field.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: How to send a reminder email for task completion before task due date

Jump to solution

Have you tried 7 instead -7, only to check on the problem is the minus sign?

Reply
Highlighted
Not applicable

Re: How to send a reminder email for task completion before task due date

Jump to solution

Hi Fernando,

Sorry for delay response, i have reduce 7 days by adding an another column in a list and compared the same with the task date.

Thanks for your help!.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: How to send a reminder email for task completion before task due date

Jump to solution

Another way to do this other than the used solution would be a Site Workflow that queries the task list once a day and if the due date is at 7 days, then send a reminder email. You can filter to only query in progress or not started tasks.

0 Kudos
Reply