create change UI action using interceptor

kunal16
Tera Expert

Hi All,

I have a requirement to create a change from an existing Incident. Below is the current setup:

1. On Incident form, I have a context menu UI Action 'Create Change'

2. Once the user selects the UI action Create Change, the user should be redirected to the change interceptors having options to select Normal or Comprehensive change type

3. Once the user selects one of the options, the user should be redirected to Change record with values of these fields copied from Incident - Short Description, Description, Assignment group

How the above mentioned can be achieved? Any help will be appreciated.

Thanks in advance!!

11 REPLIES 11

Community Alums
Not applicable

Hi,

Basically create UI action like Create Change in Incident form and below in the script section.

To redirect to interceptors use below url,

var url='wizard_view.do?sysparm_wizardAction=sysverb_new&&sysparm_stack=change_request_list.do&&sysparm_parent=8db4a378c611227401b96457a060e0f4';

action.setRedirectURL(url);

 

kyren_cooper
Kilo Expert

Thanks - I will test this out and get back to you!