How can we map the sc task to specific assignmnet group pick the data from cutom table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 03:42 AM
Hi,
I have requirement like after the submitting the catalog form it should create a SC task and map to specific group which mentioned in the one of the cutom table called "u_new_table" (Columns like Assignment group, Region, Company and Location) example: If users location on the form is "India" then it should map to group called "Group1" and this record has been creeated in the custom table u_new_table but How can I map this automatically from script include please help me with the script.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 07:04 AM
you can call that script include and pass the value
something like this
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
11-05-2024 07:11 AM
Hi @Ankur Bawiskar Mapping is happening but its picking the wrong group name from that custom table So How can I get this exact India location to exclude from that cutom table from the form I tried this script below one:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 08:11 AM
are you sure you are comparing the correct value in the IF
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 08:23 AM
@Ankur Bawiskar From the logs got the location value as India from configloc variable from the script and the same value am using it in script but it’s failing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 01:06 AM
Hope you are doing good.
Did my reply answer your question?
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