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

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

Current.assigned_to.user_name == current.updated_by

 

Thanks,
Ashutosh

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!

Hi @Ashutosh Munot - I added what you recommended and the notification does NOT go out to the assigned to person which is great; however, it should have gone to the person(s) listed in the Work Notes list, but didn't. Any advice on how to have it not go to the assigned to person, but still go out to anyone else that is listed on the Who will receive tab? I would have thought what you provided would have done that so I wonder if there is something else at play that I'm not aware of. Thanks, in advance, for any suggestions you can provide - Kim 

find_real_file.pngfind_real_file.png

Hi Kim5,

My question is also same, did you get any solution on this??