- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 04:16 AM
Hi,
Currently I have Parent task and child tasks associated to parent, when comments added to child task they will be copied to parent task and on Parent task I have a email notification configured when comments changed. Here my requirement is when child task comments added to parent email should not trigger only when comments added directly to the parent task then only notifications should trigger. Is there a way to achieve this? Please advice.
Regards,
Prudhvi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 04:40 AM
Hi @Community Alums , how are you triggering the notification? If it is through an event or business rule, you can add - 'setWorkflow(false)' in your business rule that is copying your comments from the child to parent record. But if it is triggered directly from the notification conditions, I guess we cannot prevent the notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 05:22 AM
@Community Alums
when you use that it won't trigger any after update business rule, notifications, workflows, flows etc
So please discuss with your customer for this
OR
Try adding some unique comments like "Comments from child" and then determine this in notification condition so that it doesn't send email when comments gets added from child business rule
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
03-07-2025 04:40 AM
Hi @Community Alums , how are you triggering the notification? If it is through an event or business rule, you can add - 'setWorkflow(false)' in your business rule that is copying your comments from the child to parent record. But if it is triggered directly from the notification conditions, I guess we cannot prevent the notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 04:56 AM - edited 03-07-2025 05:00 AM
Hi @GopikaP ,
This can also be a work around but it will also hamper other things like updated_by information or may be more workflows or BR not just only the BR written to trigger the eventQueue for notification.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 04:58 AM
@Community Alums
if you are adding the comments to Parent via business rule then you can use setWorkflow(false) to avoid sending notifications.
Please share how are you updating comments to Parent from child?
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
03-07-2025 05:17 AM
Hi @Ankur Bawiskar, I am adding comments to Parent task by BR. using setWorkflow(false) will have any impact?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2025 05:22 AM
@Community Alums
when you use that it won't trigger any after update business rule, notifications, workflows, flows etc
So please discuss with your customer for this
OR
Try adding some unique comments like "Comments from child" and then determine this in notification condition so that it doesn't send email when comments gets added from child business rule
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