Create Request from an Incident passing variables

juliana3
Tera Contributor

I need to convert INC to RITM and RITM to INC, but what I want is to lead the analyst to the catalog page so he can choose the new category and then have all the form filled with data from incident.

I tried doing something like this:

var url = "catalog_home.do?sysparm_view=catalog_default&sysparam_caller_id=";

Service catalog client:

var requester = getParmVal('sysparm_caller_id');

if (requester){

g_form.setValue('caller_id',requester);

But it didn't work, it seems like the parameter is lost after you navigate through service catalog.