Create a catalog request in Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2022 03:15 PM
The documentation provided by ServiceNow at here is very unclear. Especially, first two points in the section "Before you begin".
- To associate a request with any parent table record, the corresponding mapping configuration should be available in the Catalog Administration > Request Parent Mapping submodule.
- To associate a record producer request with the parent table record, retrieve the sysparm_parent_sys_id and sysparm_parent_table parameters from the URL using the RP.getParameterValue() method in the Script field of the record producer.
Further, there is no screenshot or any other reference available on what is the intention.
Can someone please explain in what this is about?
I have a record producer and I want to show it in Agent workspace. My expectation was that this article will help for the same.
Further, why there is no documentation available for below function?
g_service_catalog.openCatalogItem('sc_cat_item', '-1', params);
Thank you.
I will mark you response correct/helpful if applicable.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2022 08:15 AM
Hi TT,
if you want to open a specific record producer from the workspace here are the steps:
1. Copy the OOTB UI action 'Create Request'
2. In the workspace client script, change the following line
g_service_catalog.openCatalogItem('sc_cat_item', '-1', params);
to
g_service_catalog.openCatalogItem('sc_cat_item', '04b7e94b4f7b4200086eeed18110c7fd', params);
The entry in bold should be your record producers sys_id
3. You will see the UI action in the workspace, i created an order laptop Ui action as an example
When this UI action is clicked it opens the standard laptop catalog item on a new tab
Hope this helps,
Shane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2022 12:05 PM
Hi Shane, I tried that the problem with this approach is very strange.
Let's say we are opening request for each incident. So you select an incident and then there is a button (UI Action) to make catalog request.
Now, if you open two incidents at the same time and then open catalog request for each, any change you make in the request for one incident will reflect in request for another incident.