Can we modify the notification - CAB Attendee meeting invitation?

prajaktanaik
Giga Expert

Hi All,

We have a requirement to include all the change request numbers/short description from a CAB meeting's agenda into the CAB invitation notification - 'CAB Attendee meeting invitation'.

Can anyone share if this is possible and best practice to implement?

Thanks,

Prajakta

4 REPLIES 4

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi Prajakta,

yes, it's possible, just go to System Notification > Notifications and search for "CAB Attendee meeting invitation" (see image below), then you can easily change the subject/message as per your need (refer to second image below), there is no any impact for migration:

find_real_file.png

find_real_file.png

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

Hi Alberto,

Thanks for your reply. However, I am aware how to modify the notification. My question/requirement is: I want to add the list of agenda items(screenshot below) for a cab meeting in the invite notification so that the attendee can see the list of all agenda items.

I tried below mail script by querying the cab_agenda_item table to include it in the notification. However it is not printing all the change requests.

Can you please let me know if there is any other way to display all the agenda items in the meeting invite notification? Is this a best practice and will it have any other impact?

Mail Script:

(function runMailScript(/* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */ event) {

// Add your code here
var cabmeeting = current.cab_meeting;
var agenda_item = new GlideRecord('cab_agenda_item');
agenda_item.addEncodedQuery('cab_meeting.sys_id='+cabmeeting);
agenda_item.query();
template.print("\ncount:"+agenda_item.getRowCount()+'\n');
while(agenda_item.next()){

template.print(agenda_item.task.getDisplayValue());
}

})(current, template, email, email_action, event);

 

find_real_file.png

 

find_real_file.png

Hi @Alberto Consonni 

Please let me know if you have any inputs regarding my requirement?

Thanks,

Prajakta

yuvrajsingh
Tera Contributor

how were you able to trigger that notification ?