(function runNotificationScript(
/* SimpleRecord */ current,
/* SimpleTemplatePrinter */ template,
/* SimpleEmailOutbound */ email,
/* SimpleRecord */ event
) {
email.setSubject(current.number + '- additional comment has been added');
email.setBody(`A comment from: ${event.sys_created_by.display_name}: "${event.param_2}"`);
if (current.days_count > 3 && !current.requester.vip) {
email.addAddressCc(current.requester.email, current.requester.display_name);
}
})(current, template, email, event);