How to add Resolution notes at portal side

Sironi
Kilo Sage

Hi,

can some one help me how to add resolution notes add into Portal side.

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

Hi,

If you're wanting to post the resolution notes to the additional comments for the customer to see, you can add a BR to complete this.

When: Before

Filter: State changes to Resolved

(function executeRule(current, previous /*null when async*/) {

	current.comments = ("[code]" + '<br><b><u>Close Notes</u>: </b>' + "[/code]\n" ) + current.close_notes + "\n";

})(current, previous);

Remove the code tags if you have glide.ui.security.allow_codetag set to false. However the above adds the resolution note in a nice noticeable format.

 

View solution in original post

8 REPLIES 8

Kieran Anson
Kilo Patron

Hi,

If you're wanting to post the resolution notes to the additional comments for the customer to see, you can add a BR to complete this.

When: Before

Filter: State changes to Resolved

(function executeRule(current, previous /*null when async*/) {

	current.comments = ("[code]" + '<br><b><u>Close Notes</u>: </b>' + "[/code]\n" ) + current.close_notes + "\n";

})(current, previous);

Remove the code tags if you have glide.ui.security.allow_codetag set to false. However the above adds the resolution note in a nice noticeable format.

 

here is Result., thanks Kieran ..!!

find_real_file.png

You're welcome.

Please mark helpful and mark as correct for others to find.

The only problem with this resolution is when the user inserts a comment and the resolution note at the same time. It creates 3 comments: one with just the comment, another with the resolution note, and another with both