- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 02:10 AM
Hello everyone,
Every time I comment on an HR Case ticket on the portal, an email is sent through the event sn_hr_core_case.commented. However, I don't know where this event is triggered from. I have checked both Business Rules and Script Includes but couldn't find it. If anyone knows, please help me.
Thank you so much.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 08:09 PM
Hi @Dinh Nguyen ,
That is the BR. you can see there are no conditions in the BR and it's calling the script include and the line 278's block is satisfying and it's firing the event
the event is being fired when the comments are added
the reason why it doesn't send notification on "Close Complete" and "Close Incomplete" states in these states are inactive states (case will be active=false)
and if you look at the OOB notification conditions the case should be active in order to trigger the email
you can try adding a comment in a Close Complete case and check the event logs
you will find the event there
hope this clears things out
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 02:32 AM
Hello @Dinh Nguyen ,
Please check the workflow or flow designer as well.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 09:57 PM
Hi @Shraddha Kadam ,
Thank you for your response. I have marked the answer to my question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 02:53 AM - edited ‎07-22-2025 03:39 AM
these are OOTB events and are triggered from platform.
you can search with business rule or script include contains that event name.
@Chaitanya ILCR already pointed out the scripts.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2025 03:24 AM
Hi @Dinh Nguyen ,
this BR Send sn_hr_core_case events
it calls script include
and line no 278 fires the event
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya