Automatically Refresh Agenda Items

-Andrew-
Kilo Sage

Hi all,

 

I'm wondering if anyone could help me potentially create a UI action or business rule to automatically refresh the agenda items in CAB meetings.

I've included a screenshot below where you can see the related link.

 

find_real_file.png

 

Thanks in advance!

1 ACCEPTED SOLUTION

SatheeshKumar
Kilo Sage

Ui action is also an related link, if your need it as a fiorm button just click the form button check box in ui action.

 

if you need make it as a business rule checkk the below link, you will get sufficient details

 

https://community.servicenow.com/community?id=community_question&sys_id=ddb64b65db1cdbc01dcaf3231f96...

 

-satheesh

View solution in original post

8 REPLIES 8

We are currently on Utah Patch 9 Hotfix 1b, the scheduled job runs the following script.

var encQuery = 'startONToday@javascript:gs.beginningOfToday()@javascript:gs.endOfToday()^active=true';
var grMeeting = new GlideRecord('cab_meeting');
grMeeting.addEncodedQuery(encQuery);
grMeeting.query();

while (grMeeting.next()) {
    if (grMeeting.getRowCount() == 1) {
        var cabAgendaClass = new sn_change_cab.CABMeeting(grMeeting);
        cabAgendaClass.refreshChangeAgendaItems();
        gs.info('This scheduled job was successful');
    } else {
        gs.error('The Scheduled Job failed for Automate CAB Refresh Agenda Items');
    }
}

JulienSanchez_0-1711669859800.png

 

 

Any luck getting this working again? Mine stopped working also 2 weeks after

Yes it was the admin account that ran the task did not have the correct role type assigned to it. Once I updated the role type on the account running the job (admin) it was able to resume as normal.

Interesting, I even tried via background script as admin and its not working. What role did you give?