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

Thanks so much Sweta. it worked 🙂

Hi Shweta, this also worked for me! Thank you very much. I do have one question though: the sysparm_parent is the sysID of the interceptor record. And it is the same sysID as the interceptor in my instance.  Is this always the case? Might the sysID be different from instance to instance for the Change Request interceptor?

I thought that maybe I should first execute a glide record query to get the sysID of the interceptor (Change Request in this case) and then provide that to the URL string.

 

Ric

Works perfectly, thanks a lot for this 🙂

Hi Raushan,

 

Can you please share how you achieved it. As I have a similar requirement of  using a single UI action that allows the user to select the type (in our case, Emergency, Normal, and Standard), but still populate the needed fields that the UI action currently does.

kyren_cooper
Kilo Expert

Hi,

 

How are you linking the incident to the change? we've set this up and it doesn't seem to link the incident we create a change from to the created change?