how to set extraparams and retrive it using a catalog client script

prem kumar2
Tera Contributor

Hi @AnkurP 

We need help in capturing the sys_id of interaction record in service now operation and populate it in a service catalog request .
Here we do have a 1 ui action called create request on the interaction form clicking on this button page will be redirected to service catalog and i wish to order one catalog item and in that catalogitem we have a field called interaction and it is refernece to interaction table,So our moto is to populate the interaction feild and that to from where we have done click that record to be populated .

premkumar2_0-1730284655360.png

 

premkumar2_1-1730284801262.png

 




2 REPLIES 2

Murthy Ch
Giga Sage

Hello @prem kumar2 
One quick question, when you hit the button it will redirect you the specific catalog item?
If yes we can append the interaction sys_id to the URL and we can populate it into the interaction variable.

Let me know

Thanks,
Murthy

Hi Murthi
It will not redirect to the specific catalog item its redirect to service catalogs then we will search by the name there and in the url we do have the parameters passed .Take a look on below url  we need last sysparm_parent_sysid

premkumar2_0-1730458838292.png