Guest User

Untitled

a guest
Apr 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. var answer = [];
  2.  
  3. // Add the primary CI Approval Group to the array
  4.  
  5. answer.push(current.cmdb_ci.change_control);
  6.  
  7. // Add the Impacted Services list approval groups to the array
  8.  
  9. var impSvcs = new GlideRecord('task_cmdb_ci_service');
  10. impSvcs.addQuery('task', current.sys_id);
  11. impSvcs.query();
  12. while(impSvcs.next()) {
  13. answer.push(impSvcs.cmdb_ci_service.change_control);
  14. }
Add Comment
Please, Sign In to add comment