Can a UI action be set to open a specific catalog item?

Brett Watson
Tera Contributor

Kia ora Community,

I've seen posts explaining how to set a ui action to create a new incident, with script along the lines of:

var inc = new GlideRecord('incident'); inc.newRecord(); inc.short_description = current.getValue('short_description); inc.insert();

 

I'm wanting to do something similar but would like the UI Action to:

a) open a specific catalog item called 'Request for SAP People' as well as

b) pre-populate some of the fields in the opened catalog item.

 

I've seen multiple posts (like this one - https://community.servicenow.com/community?id=community_question&sys_id=c2e89e4ddbeaf38023f4a345ca961902) explaining how to set the UI Action to open a url but that method doesn't allow me to pre-populate field values.

 

Does anyone know if what I'm trying to do is possible?

 

Thanks in advance.

- Brett

5 REPLIES 5

How can de do same thing for record producer variables? and ideas will be helpful.

Thanks