I want to skip notifications when certain conditions are met.

服部稜
Tera Contributor

originator = updater

current.sys_created_by = current.sys_updated_by

What should I do in the above case?

 

14 REPLIES 14

@Ankur Bawiskar 
Here is the code we are implementing


When originator = updater, I want to skip to the team in charge

_1-1753180379294.png

 



When originator ≠ updater, I want to skip the email to myself.

_0-1753180367880.png

 




@服部稜 

screenshot is missing from the post.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 
sorry,Thanks for being so accommodating.


@服部稜 

it should be this for the 1st image, 2nd one is fine

current.sys_updated_by.toString() != current.opened_by.user_name.toString()

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 
I'll give it a try. Thank you!