- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 01:38 PM
Hi
I am working on a request to modify how the work notes are copied from the response task to the Security Incident. We want to include the Short Description from the response task in the work notes.
I see that this is configured in the SIR administration page with this option - "Copy task work notes to request". I can see the settings in the sm_config table, but I am not able to see any business rules on the security incident or security incident task tables that should be updating the work notes on the SIR record.
What is the OOB component responsible for copying the work notes from the task record?
Solved! Go to Solution.
- Labels:
-
Security Incident Response
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2023 05:12 AM
I found the business rule on the sm_task table, "ValidateChanges". Starting at Line 54 on Line 58 you could make the below changes:
function RollUpWorkNotes(current) {
if (current.parent) {
var parent = new GlideRecord('sm_order');
if (parent.get(current.parent)) {
parent.work_notes = current.short_description + ": " + current.work_notes;
parent.update();
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2023 07:07 AM
Thanks a lot @Martin Dewit for pointing me in the right direction, I was looking in the SIR scope. This worked perfectly for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2023 05:12 AM
I found the business rule on the sm_task table, "ValidateChanges". Starting at Line 54 on Line 58 you could make the below changes:
function RollUpWorkNotes(current) {
if (current.parent) {
var parent = new GlideRecord('sm_order');
if (parent.get(current.parent)) {
parent.work_notes = current.short_description + ": " + current.work_notes;
parent.update();
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2023 07:07 AM
Thanks a lot @Martin Dewit for pointing me in the right direction, I was looking in the SIR scope. This worked perfectly for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2024 02:54 AM
There is an out-of-the-box solution that you can use.
1. Navigate to All > Security Incident > Administration > Configuration.
2. Enable the option "Copy task work notes to request."