Can a UI action be set to open a specific catalog item?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2021 04:49 PM
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
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2022 12:48 PM
How can de do same thing for record producer variables? and ideas will be helpful.
Thanks