- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2019 12:55 PM
By default, the auto-generated meeting notes look like the following:
(CAB Automation) - CHG00123456 - Approved - John Smith - 12:31:12 - US/Eastern
We would like to change them to something like:
(CAB Automation) - CHG0030216 - Assignment Group - Risk - Change Short Description - Approved - Approver - 12:31:12 - US/Eastern
However, I cannot for the life of me find where this automation takes place. Has anyone worked with this previously?
Thank you!
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2019 06:13 PM
Naveen.. thank you for helping with this 🙂
Here's what I ended up with, and it did exactly what I need:
updateAgendaDecisions: function(agr, prevGr) {
var decision = '';
if(agr.state == CAB.AGENDA_STATE.NO_DECISION) {
decision = agr.state.getDisplayValue();
}else if((agr.decision != prevGr.decision) && (agr.decision == CAB.AGENDA_DECISION.APPROVED || agr.decision == CAB.AGENDA_DECISION.REJECTED)) {
decision = agr.decision.getDisplayValue();
}else
return;
var session = gs.getSession();
var gdt = new GlideDateTime();
var str = gs.getMessage("(CAB Automation) - {0} - {1} - {2} - {3} - {4} - {5} - {6} - {7}", [agr.task.getDisplayValue(), agr.task.assignment_group.getDisplayValue(), agr.task.risk.getDisplayValue(), agr.task.short_description, decision, gs.getUserDisplayName(), gdt.getUserFormattedLocalTime(), session.getTimeZoneName()]); var autoText = "<p>" + str + "</p>";
this._gr.agenda_decisions_buffer = this._gr.agenda_decisions_buffer + "" + autoText;
this._gr.update();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2020 06:17 PM
so how do you change CABAgendaItemSNC as it is read-only based on its protection policy.
So I assume you have to take a copy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2025 02:40 PM
*** I realize this is old... but since I don't see mention of it and the date on the Script Include predates this question... and I went looking for how to find what was creating the notes.
There is a customization point script include called CABAgendaItem you can recreate that method in and modify as you need. Your method will override the one in the SNC version. This is how MANY script includes OOB are constructed, not all but many.
