- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022 03:55 PM
I want to generate an email notification when an update is made to the hr case work notes in the closed state.
This is what I have in the inbound action
if (current.state == "3" || current.state == "4")
gs.eventQueue("sn_hr_core.closed.case.updated", current, email.origemail, gs.getUserName());
Servicenow receives the email and event gets triggered but I don't get the notification in the Outbox
notification when to send is set to the event
who will receive set to parm 1 ( should be sender of the email)
I use BR and everything worked fine
how should I test the Inbound action
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 06:15 AM
I had a suggestion to move the event to the global scope that caused the event to not trigger. When I added the event back to the hr scope it worked

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022 04:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 06:15 AM
I had a suggestion to move the event to the global scope that caused the event to not trigger. When I added the event back to the hr scope it worked