Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function executeRule(current, previous /*null when async*/) {
- var assignee = new SPOC_TicketUtils();
- if(!assignee.hasCapacity(current.assigned_to+'', current.u_capacity)){
- gs.addErrorMessage('Reaching maximum ticket capacity for the chosen assignee.');
- current.setAbortAction(true);
- }
- })(current, previous);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement