How to get user asset details and auto populate when certain field selected in record producer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How to get user asset details and auto populate when certain field selected in record producer
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @suryateja07
Option 1 (No code):
- Navigate to your Record Producer, and go to the Variables related list.
- Create or open the variable you want to auto-populate (e.g., user_email).
- Scroll down and locate the Auto-populate section.
- Set the Dependent field to the user reference field (e.g., requested_for).
- Set the Dot walk path to the specific user field in the dropdown (e.g., email). Save the form.
Refer: https://www.youtube.com/watch?v=IMLdnF7ufOg
Option2 (code) : GlideAjax with Catalog Client Script
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You can write an onChange client script with a GlideAjax call to a client callable script include to fetch the details you need. For more information please refer to https://www.servicenow.com/docs/r/api-reference/c_GlideAjaxAPI.html.