- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 06:47 AM
I'm creating a custom application where a user can create a request. Currently, they have access to a "create a new record" module where they can fill out pertinent information and submit the request. However, this redirects them to the open requests list module they should not be able to view. I want to redirect the user to a "target" or default module after they submit the form. So far, I've seen some specifics on producer.redirect for Service Catalog and Incident creation but was wondering if they was something I could explicitly script into Business Rules or something similar to it.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 08:40 AM
Hi John,
Open up the submit button & then do insert & stay. Then change the table as required & add script.
This would suffice what is expected.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 08:21 AM
Hi John,
Since you say you are being redirected I guess you are using UI Action (Submit button) if so, then you can add script
current.doRedirect = true;
action.setRedirectURL(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 08:37 AM
I'm using the default "Submit" button on the form. This redirects to the list view of the records for that particular table. I'm trying to steer away from editing the global "Submit" UI Action and and trying Client Side Script, reloading this current URL or loading a particular URL.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 08:40 AM
Hi John,
Open up the submit button & then do insert & stay. Then change the table as required & add script.
This would suffice what is expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 09:02 AM
I followed your advice, but changed the action name to match the global "Submit" button to override it instead of editing it. Thank you!