Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Notification Condition Script

Wyatt Fudal1
Tera Guru

Hello ServiceNow Community, 
I ran into an issue with having a notification send out based on certain conditions. We have a custom dropdown field in our group records named EA/IT services. This helps us divide our groups into two camps.  Either IT services or EA. This carries over to the Incident table. When a technician leaves a comment in the Additional comments depending on which assignment group the technician resides a different notification will be sent. I have it working to an extent but would like to add a condition in the notification and need assistance in writing the script for this. Thank you all.

IT Service notification

WyattFudal1_0-1709916504545.png
EA Notification 

WyattFudal1_1-1709916584941.jpeg

Group Record 

WyattFudal1_2-1709916636581.pngWyattFudal1_3-1709916653814.png

 

WyattFudal1_4-1709916661567.png

 

 

7 REPLIES 7

Wyatt Fudal1
Tera Guru

Could this work?
u_eap_sd=^NQassignment_group.u_ea_it_services=it services^ORassignment_group.u_ea_it_services=ea

Harsh Vardhan
Giga Patron

@Wyatt Fudal1  Your notification is running on which table ?

 

Doc link:

 

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/notification... 

 

Thanks,

Harsh

The Incident table. I have the notification kinda working but I want to add this line of code in the notification. Similar to this image 

WyattFudal1_0-1709920750130.png

 

@Wyatt Fudal1  You can do it, you just have to apply the filter condition in your notification , may I know what is the exact issue are you facing while applying dot walk filter condition ?