Associate Interaction to request created from record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2025 10:21 AM
In the Service Operations Workspace on the interaction form there is a UI action to Create request. When clicked, it opens the catalog and once a request is created and submitted, associates the interaction to the new request. This works perfectly except for items from a record producer.
When we choose our miscellaneous item in the catalog, which is a record producer, the new record is created but not associated to the interaction.
Can anyone help me update this to work for record producers as well as catalog items?
Below is the code for the Create Request UI action. It seems to leverage the openCatalogItem method of the g_service_catalog api but I can't seem to find any documentation for it.
function onClick() {
g_form.setValue('state', 'closed_complete');
g_form.setValue('active', 'false');
var result = g_form.submit('sysverb_ws_save');
if (!result) { // failed form submission
return;
}
result.then(function() {
var params = {};
params.sysparm_parent_table = "interaction";
params.sysparm_parent_sys_id = g_form.getUniqueValue();
g_service_catalog.openCatalogItem('sc_cat_item', '-1', params);
});
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2025 10:53 AM
@conanlloyd I just tried creating record using record producer (can we help you?) and it got associated with interaction. Could you share screenshot from where you are raising record from record producer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2025 11:08 AM
Thanks for the response Sandeep. My steps are as follows:
- On the Interaction form in the Service Operations Workspace, I click Create Request
- Our Catalog opens up:
- I navigate to our Miscellaneous request
- Then fill out the form and submit.
- Item is created but not associated to the Interaction