- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2017 11:41 PM
Hi All,
I have come across an requirement where I have to navigate to the change interceptor form on clicking or performing an UI action on Incident to "Create Change".
I have already used below thing UI Action of "Create change" on Incident form.
window.location.href="https://dev41026.service-now.com/nav_to.do?uri=/wizard_view.do%3Fsysparm_wizardAction%3Dsysverb_new%..."
thanks all....
Regards,
Venkatesh P
Solved! Go to Solution.
- Labels:
-
Change Management
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2017 11:59 PM
HI Venkatesh,
Please try the below UI action method. This works for me but I am wondering whether you need the values from incident/problem to be populated in change request or not.
Just make sure to check the client box, add Onclick method as I have added "Redirect".
Please let me know if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2017 11:57 PM
try below in ui action code, make it server side
action.setRedirectURL('/wizard_view.do?sys_target=change_request&sysparm_stack=change_request_list.do&sysparm_wizardAction=sysverb_new&sysparm_parent=8db4a378c611227401b96457a060e0f4');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2017 11:59 PM
HI Venkatesh,
Please try the below UI action method. This works for me but I am wondering whether you need the values from incident/problem to be populated in change request or not.
Just make sure to check the client box, add Onclick method as I have added "Redirect".
Please let me know if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 04:14 AM
Hi Gaurav Did you find out how to get the values from the incident to the change? As per your question I need the values from incident to be populated in change request. I am using the same ui action and url starting an interceptor as you posted. I appreciate your help thanks Elias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2017 05:06 AM
HI Elias,
I am afraid that not feasible with this solution.
The only thing that could persist is the session. You can try adding through glideajax In server script( gs.getSession.putClienData(name,value). )
and then retrieve it in on load script and then populate the change form with the session values.
I haven't tried it though but its worth a shot.
Thanks
Gaurav