How to remove Work note copied from Parent Incident from child incident work notes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 11:50 PM
I want only work note not "Work note copied from Parent Incident " this text. please suggest how to do this?
I wrote business rule and its working properly but I don't need that text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2024 11:53 PM
@JanhaviP The message "Work note copied from Parent Incident" is coming from the OOB Business rule "Update Child Incidents".
In Business rule list, search as "Script contains Work note copied from Parent Incident" as below and set the BR to "false".
Note: Analyze the OOB BR, before inactivating it. Create custom business rule if really required to meet your needs.
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 10:51 PM - edited 05-13-2024 10:58 PM
@Sujatha V M Thank you for your response.
I wrote below mentioned BR for this requirement. still its not working. can you please check?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2024 11:25 PM - edited 05-13-2024 11:28 PM
@JanhaviP @Janhavi Pawar1 I assume you want the Incident work notes to be cascaded to child work notes, please try the below,
Table : Incident
After : Update
Condition : Work notes changes
var gr = new GlideRecord('incident');
gr.addQuery('parent_incident', current.sys_id);
gr.query();
while(gr.next()){
gr.work_notes = current.work_notes.getJournalEntry(1);
gr.update();
}
Results :
Parent Incident :
Related records (child incident) :
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2024 11:25 PM - edited 05-19-2024 11:26 PM
Please “Accept” it as a solution and mark this as helpful if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.