1 Reply Latest reply on May 12, 2017 8:49 AM by andreas.lindner

    Automatic Notification




      I want to send three notification after resolution like 1 to Team Lead, 2nd with resolution remark to user and 3rd with survey detail ...

      Now my problem is i want to send this in order any put some delay in notification like one next another.

        • 1. Re: Automatic Notification
          andreas.lindner Expert



          that is absolutely possible. Did you notice, that if you add the automatic action "Add Reminder" you always have to define the "Send Date"? That is your advantage. Usually there is the simple calculation that returns the Value = DateTime.UtcNow. But that can be amended. For example:

          import System
          static def GetAttributeValue(Reminder):
            CurrentTime = DateTime.UtcNow
            Value = CurrentTime.AddMinutes(30)
            return Value

          That will allow you to set the send date to 30 minutes into the future. The mail engine will consider the send date before sending, so you will be able to use three subsequent "Add Reminder" actions and every one of the actions will have a different send date. Just set a different value for the AddMinutes method in the different "Add Reminder" actions.