- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 03:13 AM
Hi All,
We are in the middle of making a large change to our change_request form.
This will see us no longer use some old fields and the addition of some new fields. In order to handle existing changes I've made a view called 'legacy' and created a view rule:
This works for current records, however we use the change interceptor when 'create new' is selected from the application menu. When I select normal change from the interceptor it is forcing the 'legacy' view until the form is submitted. The interceptor link is setup:
I've also tried with setting the syparm_view=default but still having the same effect. Any suggestions how I can get around this as I need all new change to use the updated form which is on the default view.
Thanks
Sam
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 07:12 AM
Managed to get this working by amending the condition on my view rule:
I'm guessing that before the record is submitted although on screen the opened field is populated, in the back end it is not until submission. Due to this it wasn't evaluating as I was expecting.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 03:34 AM
Hello,
try adding the line in the target URL to set the user preference to default
&sysparm_userpref.change_request.view=&sysparm_view_forced=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 05:02 AM
Hi,
I've tried to amend, so my target URL is now:
change_request.do?sys_id=-1&sysparm_query=type= normal&sysparm_view=&sysparm_userpref.change_request.view=&sysparm_view_forced=true
But this is still causing the same issue, on selecting the normal change option on the interceptor it is going to the legacy view instead of default view.
Thanks
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2019 07:12 AM