Guest User

error2

a guest
May 31st, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. JavaScript evaluation error on:
  2. (function executeRule(current, previous /*null when async*/) {
  3. var view_name = "";
  4. if (gs.getSession().isInteractive()) {
  5. var map = gs.action.getGlideURI().getMap();
  6. if (map.get('sysparm_view') != null) {
  7. view_name = map.get('sysparm_view').toString();
  8. if (view_name == 'welcome_hub_flow'){
  9. var condition = current.addQuery('type', '=', 'flow');
  10. current.appendOrQuery(condition, 'type', '=', '');
  11. }
  12. else if (view_name == 'welcome_hub_subflow')
  13. current.addQuery('type', 'subflow');
  14. }
  15. }
  16. })(current, previous);
  17. Root cause of JavaScriptException: java.lang.NullPointerException
  18. : java.lang.NullPointerException:
Advertisement
Add Comment
Please, Sign In to add comment