- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 08:17 AM
Hi Folks,
I need some suggestion/solution on below scenario , however this is OOTB behavior but I need to bypass this notification.
When HR case is transferred with new case number , system should not trigger transfer case notification as below
Since above additional comment was added to original case hence system is sending below notification which needs to be suppressed.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 09:49 AM
@Vijay Baokar There are a couple of ways by which you can skip the notification from triggering.
1. Approach 1: In this approach you will simply prevent the case transfer comment from getting added on to the case. This will prevent the Comments added notification from triggering. Create a business rule on sn_hr_core_case as follows.
2. Approach 2: If you want the additional comment related to transfer case but still do not wish to trigger notification than there is another approach.
Navigate to script includes and find hr_Case (sn_hr_core.hr_Case) script include.
Navigate to method sendEvents and replace the line 273 with the following
if(!this._isCommentMadeFromConnect()&&!_gr.comments.startsWith(gs.getMessage("Case was transferred to {0}",_gr.number)))
Save the changes.
Caution: This is an OOTB script include, making changes here will prevent it from getting upgraded in future releases. Also, making changes in this script include will trigger Application Restricted Caller Access Records, which you will have to set to Allowed again from Application Restricted caller access module.
Choose the approach which fits best in your use case.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2023 09:49 AM
@Vijay Baokar There are a couple of ways by which you can skip the notification from triggering.
1. Approach 1: In this approach you will simply prevent the case transfer comment from getting added on to the case. This will prevent the Comments added notification from triggering. Create a business rule on sn_hr_core_case as follows.
2. Approach 2: If you want the additional comment related to transfer case but still do not wish to trigger notification than there is another approach.
Navigate to script includes and find hr_Case (sn_hr_core.hr_Case) script include.
Navigate to method sendEvents and replace the line 273 with the following
if(!this._isCommentMadeFromConnect()&&!_gr.comments.startsWith(gs.getMessage("Case was transferred to {0}",_gr.number)))
Save the changes.
Caution: This is an OOTB script include, making changes here will prevent it from getting upgraded in future releases. Also, making changes in this script include will trigger Application Restricted Caller Access Records, which you will have to set to Allowed again from Application Restricted caller access module.
Choose the approach which fits best in your use case.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 12:06 AM
Hi Sandeep,
I preferred the 2nd approach.