How to send Reminder mails for tickets (Incident / Request) which are in pending status.

vamshi2
Tera Contributor

Hi Team,

 

we are sending notification when state changes to pending and now Reminder mail should be sent alternative days for requestor for tickets which are pending status before the auto closure of tickets.

 

please suggest

1 ACCEPTED SOLUTION

Hello @vamshi2,

 

In my case, I am using 3 notifications. But if you prefer using one notification.

You can fire an event instead of Notification. Please follow below steps:

  1. Create an event from your Event registry from
    System Policy > Events > Registry  (I am naming it event_name in this example)

  2. Adjust the trigger on the notification so that the trigger is based on your event and select the event you created (event_name)
    MediC_1-1743173267721.png

     

  3. Recipient should be Event parameter 1 ("Who will receive" section)
    MediC_2-1743173267696.png

     

  4. On your Flow, use "Fire Event" Flow Action instead of "Send Notification"
    MediC_0-1743173062835.png
    Drag and Drop your record from the trigger to the Record field
    Set the recipient in "Parameter 1" (Examples: requested_for, caller ....)
    Set the number of days in "Parameter 2" (Examples: 5, 2 ...)

  5. Back on your Notification content, you can use the following whenever you want to get the number of days:
    ${event.parm2}

     

So for the 3 times within your flow, you will be firing the same event (which is triggering the notification) but each time, there would be different second parameter.


I hope this helps!

 

 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

View solution in original post

9 REPLIES 9

Medi C
Giga Sage

Hi @vamshi2,

 

Please follow below instructions. we have this up and running without an issue:

  1. Create a flow which triggers when State changes to Pending.
  2. You can then implement your logic as in:
    MediC_0-1743072225349.png
  3. In Step 11:
    MediC_1-1743072452393.png

    You can update your record by setting is to Closed/Resolved (As per your requirement)

  4. In the Wait For Condition:
    You can simply have there: State "IS NOT" Pending.

 

The screenshots I shared are for a flow sending reminders for records which are in Pending, it sends an email every 24 hours for 3 days. If the states does not changes for 3 days, the ticket is updated to have a comment added and state set to "Closed".

 

 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

Hello @vamshi2,

 

I hope you are doing well! Was this helpful? If so, kindly accept the solution and close the thread so that it benefits future readers. 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

vamshi2
Tera Contributor

Hi @Medi C 

 

thanks for reply

i am able to send notification but in the body i need to calculate days so in first notification need to mention 5days second notifcaition 3 days and so on

Hello @vamshi2,

 

In my case, I am using 3 notifications. But if you prefer using one notification.

You can fire an event instead of Notification. Please follow below steps:

  1. Create an event from your Event registry from
    System Policy > Events > Registry  (I am naming it event_name in this example)

  2. Adjust the trigger on the notification so that the trigger is based on your event and select the event you created (event_name)
    MediC_1-1743173267721.png

     

  3. Recipient should be Event parameter 1 ("Who will receive" section)
    MediC_2-1743173267696.png

     

  4. On your Flow, use "Fire Event" Flow Action instead of "Send Notification"
    MediC_0-1743173062835.png
    Drag and Drop your record from the trigger to the Record field
    Set the recipient in "Parameter 1" (Examples: requested_for, caller ....)
    Set the number of days in "Parameter 2" (Examples: 5, 2 ...)

  5. Back on your Notification content, you can use the following whenever you want to get the number of days:
    ${event.parm2}

     

So for the 3 times within your flow, you will be firing the same event (which is triggering the notification) but each time, there would be different second parameter.


I hope this helps!

 

 


If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.

Shivalika
Mega Sage

Hello @vamshi2 

 

 

Please confirm if you checked my answer. Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for my efforts and also it can move from unsolved bucket to solved bucket. 

 

Regards, 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeE