Change - Auto add agenda items to CAB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 10:23 PM
As a Change Process owner, I want any a filter to be used to include the following changes to be included in that CAB meeting's agenda.
Normal Change - Change CAB date is the same as the CAB meeting date and the state is AUTHORIZE
Emergency Change - Change CAB date is the same as the CAB meeting date, regardless of status.
Standard Change - These changes should never be included in the CAB agenda.
I need to auto populate CAB workbench has the agenda auto populated with Normal and Emergency changes as described.
Can any one help me on this, where we need to make changes.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 10:38 PM
Hi Prasad,
Each meeting needs to be manually built or refreshed prior to the meeting occurring.
There is no OOB option for that, but it needs to be manually triggered using the "refresh agenda items" UI Action, or you would need to customize your business rules.
You can use the method refreshChangeAgendaItems() within the CABMeeting API to generate the agenda items programatically. That is, you can modify existing UI actions or create a business rule to also refresh the agenda items when a new cab meeting is generated.
For example, "Refresh CAB Meetings" UI action can be modified as follow, to refresh the agenda items.
current.update();
new CABDefinition(current).refreshMeetings();
// refresh agenda items
var cabMeetingGr = new GlideRecord(CAB.MEETING);
cabMeetingGr.addActiveQuery();
cabMeetingGr.addQuery(CAB.DEFINITION, current.getUniqueValue());
cabMeetingGr.query();
while (cabMeetingGr.next()) {
var cabMeeting = new sn_change_cab.CABMeeting(cabMeetingGr);
cabMeeting.refreshChangeAgendaItems();
}
action.setRedirectURL(current);
Refer here to learn :https://community.servicenow.com/community?id=community_question&sys_id=ddb64b65db1cdbc01dcaf3231f96...
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep