Auto populate "requested for" email id and manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 12:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 12:38 AM
Hi @karunasrikuna,
You can use the Auto-Populate section which is provided in variables of maintain items.
attaching screenshots for reference.
Please mark my response as correct and helpful if it helped solved your question.
Thanks,
Rohit Suryawanshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 01:00 AM
Hi @karunasrikuna,
To auto-populate fields based on the "Requested for" field in a ServiceNow catalog item using the Out-Of-The-Box (OOTB) feature:
Use Auto Populate Feature
1. Navigate: In your catalog item, go to the variable form for each variable you want to auto-populate (Email Address and Manager).
2. Auto Populate Configuration:
- For Email Address:
1. Open the Email Address variable.
2. Scroll to the Auto Populate section.
3. Set Reference qualifier to the `Requested For` field.
4. Use the script: `javascript:current.variables.requested_for.email`
- For Manager:
1. Open the Manager variable.
2. Scroll to the Auto Populate section.
3. Set Reference qualifier to the `Requested For` field.
4. Use the script: "javascript:current.variables.requested_for.manager"
By using the OOTB Auto Populate feature in the variable form, you can easily configure the `Email Address` and `Manager` fields to auto-populate based on the `Requested For` field in your ServiceNow catalog item.
Thank you, please make helpful if you accept the solution.