Copy Comment from parent to Multiple child and Multiple child to parent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2024 01:42 AM - edited 06-30-2024 02:00 AM
Hello ServiceNow Community,
I'm currently facing a challenge regarding the management of comments between incidents and related work orders in ServiceNow. Here’s a breakdown of the scenario and the solution I’m seeking:
Scenario:
Setup: I have multiple work orders (wm_order) associated with an incident (incident) in ServiceNow. The incident acts as the parent record for these work orders.
Issue:
When a comment is added to a work order, it gets copied to the incident. Subsequently, this comment is then copied back to all other work orders associated with the same incident, creating duplicate comments.
However, I want to prevent comments added to work orders from being copied back to other work orders via the incident.
Desired Solution:
Comments added directly to the incident should propagate to all associated work orders.
Comments added to a work order should not be re-copied to other work orders via the incident.
Approach Taken:
I’ve implemented a solution using a Business Rule to manage comment propagation. However, I'm encountering challenges in ensuring that comments are synchronized correctly without causing duplication.
@Ankur Bawiskar @Chuck Tomasi can you help me with this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2024 09:01 PM
please check this link and comments from Sravani
Sync'ing RITM and SCTASK work notes \ additional comments
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-01-2024 12:16 AM
Hi @Ankur Bawiskar I have already applied this logic, and it is working fine in stopping comments from being copied multiple times to one work order. However, we have two work orders under one incident. The comment I added in one work order is copied to the incident, and then it is copied back to the other work order. I need to stop that from happening. I have created business rules in both the incident and work order tables to run when the comment changes.