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.
Solved! Go to Solution.
You can run two parallel branches:
Create the task and get the Task Item ID on a Workflow Variable varTaskID
Pause 5 Minutes (So as to wait the created task)
Pause 1 hour
Read task by varTaskID
If (Due Date - 7) then send email
until task completed or (Due Date - 7)
I am seeing below error when i do the above step which you have mentioned
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
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!.
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.