Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var answer = [];
- // Add the primary CI Approval Group to the array
- answer.push(current.cmdb_ci.change_control);
- // Add the Impacted Services list approval groups to the array
- var impSvcs = new GlideRecord('task_cmdb_ci_service');
- impSvcs.addQuery('task', current.sys_id);
- impSvcs.query();
- while(impSvcs.next()) {
- answer.push(impSvcs.cmdb_ci_service.change_control);
- }
Add Comment
Please, Sign In to add comment