- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 04:15 AM
@arobertson , that form loaded on the right side looks like an embedded widget. Try to identify that widget and check the input parameters(most likely sys_id) used to render the form.
Then you can assign the value of that parameter to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 06:21 AM
Im not sure if i understand correctly, but your requirement is that when you clicked any item from that list it should open the catalog item for that record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2025 06:38 AM
Please see above post where I have explained it a bit more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 05:11 AM
Just an update as ServiceNow provided a few recommendations:
Here are some recommendations that we can suggest:
Recommendation 1. Retrieving the UNT number from the DOM, since the widget does not change, you can use the widget's sys_id as class name by prefixing v and get the innerText of the DOM element, and parse the text to get the UNT number
Recommendation 2. You can also customize the widget to get the data object from the parent widget and fill the form
Recommendation 3. In this, you can submit the catalog item beforehand when the UNT gets created, and assign a task to the requested user to accept the assets. In this, a task is assigned to the user, and you can create custom actions like "I accept assets" with all variables shown, which can be shown on the task from the RITM for the Todo page.
Docs:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 05:12 AM
We have gone for option 1 at the moment using this code to get all the text.