Replicate SOW Interaction Create Request UI Action using different catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2023 11:26 AM
In the Service Operations Workspace, when working on an Interaction record, there is an OOTB UI Action to "Create Request". This automatically opens to the Service Catalog. I'm looking to replicate this functionality, but rather than go to the Service Catalog, have the UI action take the user to another catalog (ie Human Resources Catalog, Technical Catalog, or any custom made ones). Is there a way that this can be set up?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2023 12:41 PM
Hi @ZachFunderburk ,
Hope You are doing great.
1. Create a UI Action:
- navigate to System UI > UI Actions and create a new UI action.
- Define the following properties for the new UI action:
- Table: Interaction [task_interaction]
- Onclick script: Add the following code snippet to redirect users to the Human Resources Catalog. Replace "hr_catalog_page" with the actual URL of your Human Resources Catalog page.
window.location.href = '/hr_catalog_page.do';
​
- Show Insert: Uncheck this option to prevent the creation of an additional record upon clicking the UI action.
2.Configure UI Action Visibility:
- To ensure the UI action is visible only in the Service Operations Workspace, you can set visibility conditions based on the workspace.
- In the UI action form, scroll down to the "Visible" field and add the following condition:
current.sys_class_name == 'task_interaction' && gs.getUser().getPreference('glide.ui.accessibility') == 'desktop'
​
3. Edit the form layout and add the newly created UI action to the desired location on the form.
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2023 01:08 PM
Hi Riya,
That does not look to be working. We are using the Employee Center Portal, so essentially I need the UI action to open a new Workspace Tab that leads to the equivalent page of /esc?id=esc_sc_category,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2025 07:22 AM
Zach,
Did you get a resolution to your question? I have the same business need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2024 05:58 AM
Hi @ZachFunderburk ,
Following this fixed this exact problem for me, just adding the desired catalog(s):
https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/administer/workspace/task/...
Regards,
Ken