Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Customer add comment - when agent not available or off

Sampath
Contributor
August 15, 2022

Team 

 

I need help on this...

- when Agent not available - customer update the comment in the ticket - no response long time - here i need to set rule - automation response stated "agent shift ends  pls contact XXXX" - how to set up..pls any help on this rule share it

 

thanks

 

2 answers

0 votes
Mark Segall
Community Champion
August 17, 2022

Hi @Sampath - Here's a rule that should do the trick:

2022-08-17_06-22-31.jpg2022-08-17_06-22-42.jpg

Quick explanation...

The rule triggers when comment is added.  From there, the current hour is captured in a variable (second screenshot).  Then, an advanced condition verifies whether that hour is greater than 17 (5:00 PM) and adds a comment.  You'll just need to adjust the time zone parameter in the variable and the desired end of day hour for your needs.

Here's the variable so you can copy/paste:

{{comment.created.convertToTimeZone("America/Los_Angeles").format("H")}}
Sampath
Contributor
August 17, 2022

@Mark Segall 

 

Thanks .. Great to share this steps thanks for all your support and guidance . i will check and update 

 

Some option like comment is the main section / create variables couldn't found

Mark Segall
Community Champion
August 17, 2022

Oh sorry didn't catch that you're on server.  Instead of using the variable, you could just put the smart value directly into the advanced compare like this:

2022-08-17_07-44-16.jpg

Sampath
Contributor
August 17, 2022

Screenshot 2022-08-17 at 8.59.09 PM.png

@Mark Segall Thanks again for your valuable support . PF rule set up and advise is this correct?

 

here i want to check in 5 minutes is this correct : 

{{comment.created.convertToTimeZone(“India/Chennai”).format(“M”)}} 

and we need to give the current time is 21:00

Mark Segall
Community Champion
August 17, 2022

You changed the format to use "M" which is month.  "H" is hour in the 24-hour format.  

Sampath
Contributor
August 17, 2022

Hi @Mark Segall 

Oh ok then {{comment.created.convertToTimeZone(“India/Chennai”).format(“H”)}} 

 

currently time is 22:00 after hour i can check the comment status

0 votes
Sampath
Contributor
August 15, 2022

@Mark Segall  @Jack Brickey 

 

any advise or step pls

Sampath
Contributor
August 17, 2022

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events