
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2023 09:41 AM
Hello Everyone,
we have a bug that when someone clicks the new ui action on a related list it just redirects them back to the same form. nothing from a configuration has changed and this has just recently been acting up.
this is the script on the ui action
var uri = action.getGlideURI();
var path = uri.getFileFromPath() + '';
path = path.substring(0, path.length - 5) + '.do';
uri.set('sys_id', '-1');
var query = new sn_grc.GRCUtils().generateNewIssue(parent);
uri.set('sysparm_query', query);
path = new sn_grc.GRCURIUtils().checkWizard(uri, path);
if (path)
action.setRedirectURL(uri.toString(path));
action.setNoPop(true);
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 09:15 AM
Ah wait, is this script include callable from all scopes, and if not, is your UI action in the same scope as the script include?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2023 09:15 AM
Ah wait, is this script include callable from all scopes, and if not, is your UI action in the same scope as the script include?