Skip to main content
Inspiring
Aug 23, 2022 1:37 PM UTC
Solved

Send Email Reminders

 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?

    stefanhelzle0001
    Brainy
    Aug 25, 2022 7:08 AM UTC

    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
    Aug 23, 2022 1:47 PM UTC

    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.

    Inspiring
    Aug 24, 2022 7:38 PM UTC

    .

     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.

    Inspiring
    Aug 24, 2022 7:54 PM UTC

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