- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2024 10:17 AM
Hello,
I created 2 tables in app engine servicenow, table "Requests" and table "Requestor Details"
Now my table "Requests" has Field "Name" that is reference to my table "Requestor Details", what i want and need is that if i change the name in the "Requests" the "Email" Field will be automatically populated from the value in "Requestor Details"
My code so far
Script Includes
---------I tried to run in Script - Background, and i am getting correct results.
Thank you!!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2024 08:23 PM
Hi @glennjasper0 ,
you have not followed glide ajax syntax.
change below.
check this blog for Glide Ajax : https://servicenowwithrunjay.com/glideajax-in-servicenow/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2024 06:50 PM
Hello @glennjasper0
This script seems fine overall, but there's one issue: you're working within an application scope while the script include is in the global scope.
Here are two ways to resolve this:
- Create the script include within the same application scope.
- Check the sys_scope_privilege table for a cross-scope privilege request. If it exists, approve the request to allow access.
Hope this helps!
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"
Thank You
Juhi Poddar