Email Notification - Incident Work notes to Assignment to

NFGDom
Mega Sage

Hello!

I'm looking to make an update to the "Incident Work notes to Assignment to" email notification. By default it sends notifications to "Work notes list, Assigned to, Additional assignee list". However, I'd like to add an advanced condition where if the person who updated the work notes is the same as the assigned to - do not send the notification.

The existing conditions are as follows:

find_real_file.png

I've also added this script with no success.

if(current.assigned_to == current.updated_by) {
	false;
} else {
	true;
}

Any help would be appreciated.

Dom

1 ACCEPTED SOLUTION

Thanks! I forgot I had to step into assigned_to... I also had to update updated_by to sys_updated_by.

Below is my end result that worked.

if(current.assigned_to.user_name == current.sys_updated_by) {
	false;
} else {
	true;
}

Thank you for the help!

View solution in original post

5 REPLIES 5

Swathi26
Tera Contributor

Hi Kim, Debashish,

Yes, with the fix mentioned, it does not send notifications to the work notes list as well as the condition is true.

Please change the view to 'Advanced' and make sure the "Send to event creator" box is NOT checked under the tab "Who will receive". 

 

Thanks!