Skip to main content
August 23, 2022
Solved

Send Email Reminders

  • August 23, 2022
  • 4 replies
  • 0 views

 I have a requirement to send Email notifications to all users who received task to remind them of the due date if they have not completed the task. The due date should be 14 days after the task is assigned.The reminder notification should be sent at the following intervals if the task is active:

  • 7 days left,
  •  5 days left,
  • 2 days left
  • Due Date

Due Date plus 1, 2, 3, etc. until the task has been submitted.The notifications should to be sent out daily after the due date has passed until the task is completed.

I am not sure how i should pass these different scenarios to escalation in userinput task .Any suggestions?

    Best answer by stefanhelzle0001

    This is a known issue. Timers are not THAT flexible. You will need to create multiple escalations for each of your time periods and not use local variables.

    4 replies

    stefanhelzle0001
    Brainy
    August 23, 2022

    Just define multiple escalations. That should be 4, with the last one being a recurring one.

    And just do the calculations the other way around. I mean, make it T+7, T+9, T+12.

    August 24, 2022

    .

     a!localVariables(
      local!endDate: pv!startDate + 14,
      if(
        and(
          
          pv!isReviewTask = false,
          or(
            exact(today(), local!endDate),
            (local!endDate - 10),
            (local!endDate - 7),
            (local!endDate - 2),
            (local!endDate - 5)
          )
        ),
        true(),
        false
      )
    )

    I tried it adding a expression but its throwing error for user input task, stating task has been completed by other assignee though its still active.

    August 24, 2022

    Recieved this error with above configuration 'eval:@reason=assignment in invalid location'