Guest User

Untitled

a guest
Feb 14th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. var gr = new GlideRecord("sys_ui_action");
  2. gr.get("a23792504f4853001b1ca3b11310c7ad");
  3. if(GlideEvaluator.evaluateString(gr.getValue("condition"))){
  4. current.state = 11;
  5. current.assignment_group = gs.getProperty("misconduct.investigator_group");
  6. current.assigned_to = current.u_investigator;
  7. current.update();
  8. action.setRedirectURL(current);
  9. }
  10. else{
  11. gs.addErrorMessage(gs.getProperty("misconduct.ui_condition_error"));
  12. current.update();
  13. action.setRedirectURL(current);
  14. }
Add Comment
Please, Sign In to add comment