Send Notification based on a variable answer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 09:58 AM
Hi Everyone,
I created a notification to send if a catalog item variable is Yes - see attached details. The good news is that the notification sends when the variable "Additional Information =Yes" However, the bad news is that the notification is constantly sending when any update is made since the variable is always yes. Any suggestions how I can trigger this notification to only send one time when Additional Information changes to Yes? I verified changes to is not an option to select after the variable is selected.
thanks in advance for any feedback you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 10:19 AM - edited 09-27-2023 10:21 AM
Hi @Gemma4 ,
Can you check if there is option in condition like additional information changes.
So you can combine two condition with AND.
i.e., "your first condition" AND "additional information changes"
This will ensure that while updating the record it will check if additional information is Yes and if its changed then only trigger the notification.
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 10:33 AM
Thank @Vishal Birajdar
Attached is a copy of the conditions for the email. Unfortunately there is not an option for "changes" I tried to change insert and updated and in all scenarios the notification is still sent. I also tried to add an event for it to trigger but didn't have any luck-not much experience in that area.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 10:38 AM
Hi @Gemma4
If possible then send the notification through workflow.
This might work.
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2023 10:32 AM
Hi @Gemma4 ,
Triger email trough script using BR
1)Create event , change the notification trigger to event and select the event created
2)Create a on before BR - runs only on update
2)in the BR script , check if previous value is empty and current value is not empty, send the email.
if (!previous.variables.variablename) { //check previous value is empty
if (current.variables.variablename)
gs.eventQueue('eventname', current, gs.getUserName()); //replace gs.getUserName() with the user you want to send email
}
let me if any questions.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025