Populate all the users selected in "requested for" in requested for email id variable in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi Community,
Here my requirement is , for a catalog item "requested for" should allow multiple selections, if they select 4 users all those 4 users email id should get populate in "requested for email" . I have written script include and on change client script on "requested for" but it's not working. Can anyone please help to achive this requirement . @Ankur Bawiskar
Thanks,
Prasanna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
@Ankur Bawiskarbut workflow will run once the request is submitted only . But here while they are entering the details in the portal, then only it should populate in "requested for email " variable in the form itself
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
yes that link has logic for onChange catalog client script from Asif
Use that script
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
@Ankur Bawiskar it's not working
script include name : FetchAllEmailIds
client callable :checked
script :
On change client script
on change : requested_for
script :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
so what debugging did you do
1) is script include client callable
2) what came in alert as response in Ajax?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader