- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2014 06:51 AM
Hello,
Is it possible to create a UI Action on an Incident form that then redirects to the another form on the same table? For example, our "Default" Incident view is quite cumbersome with lots of fields and functionality. Our idea is to create a simplified view of the incident form (called Phone Express) in another view. Users will use the simplified view to create a new incident...and if it's not an Open/Close incident or requires further investigation, we'd like to click an "Investigate" or "Continue" button from a UI action on the simplified view, that takes the user to the 'Default' view of the incident (with all the fields) so the user can continue working.
So far, I can't see anything on the community relating to this. Any thoughts on how to redirect to a specific view on the same table would be appreciated!
Thanks!
Lori
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2014 01:14 PM
Hi Lori -
Sorry about that, misunderstood what you were trying to achieve. Try this in the UI Action instead:
current.update();
action.setRedirectURL("incident.do?sys_id=" + current.sys_id + "&sysparm_view=default&sysparm_view_forced=true");
this also works:
current.update();
action.setRedirectURL("incident.do?sys_id=" + current.sys_id + "&sysparm_view=&sysparm_view_forced=true");
but I left default in there just so you know you can modify that section for different views.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2014 01:41 PM
Awesome! Glad it worked for you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2017 08:48 PM
Hi,
I am very new to Snow, please can you assist me as to how i can redirect users to 2 differernt roles based on roles?
Thnks