- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 03:35 AM
Hello
i have a variable set with navn, ansattid, sap_status
You select a users Navn (name) from a reference field, then ansattid(id) gets autofilled with that users ID. Now i want sap status to also show, but im not getting it to work in my catalogscript. Please need some tips
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 03:38 AM
you are using wrong field name it should be u_sap_active in this line
g_form.setValue('sap_status', userref.u_sap_active);
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-10-2023 03:38 AM
you are using wrong field name it should be u_sap_active in this line
g_form.setValue('sap_status', userref.u_sap_active);
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-10-2023 03:41 AM
ah my mistake thanks