Service Portal: Set Parent in Service Catalog to identify from child RITM/INC

Bimlakar Singh
Tera Expert

I have a Custom Table Task, there is UI Action to create a 'Generic Catalog Item" when UI Action is clicked form should open in Service Portal and set the parent id of newly created RITM or Req level to identify from child to parent.

@Ankur Bawiskar 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Bimlakar Singh 

are you taking user directly to the required catalog item or to the service portal home page?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

taking user directly to the required catalog item

@Bimlakar Singh 

then you can include the custom table record sysId in URL parameter and use onLoad catalog client script to get that and store in some hidden variable

Once RITM is submitted pick the value from hidden variable and set the parent field

something like this to pass and get url parameter value

Redirect from a UI Action to a Catalog Item and set default values 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

to redirect the user to the Service Portal home page when user click on the ui action. Could you please help on how to proceed to achieve this?