Copying variable values of RITM to a record Producer via UI Action

DPrasna
Tera Contributor

Hi All,

 

I have a requirement to create a button on RITM form that converts the current RITM to an Incident.

I am trying to redirect the UI action to a record producer as below

 

var ritmNumber = g_form.getValue('number');
        var url = 'com.glideapp.servicecatalog_cat_item_view.do?sysparm_id=62fb775337fasergfgtne012';
        window.open(url);
 
However I need help with copying the variable values for current RITM and set/populate it to the variable values of the record producer. How do I do it?
Need help on the same
 
 
15 REPLIES 15

DPrasna
Tera Contributor