What's wrong with my GlideAjax?

RFJ1
Tera Contributor

I wrote a simple glide ajax to get caller's email address and add it to the short description.

Apparently, the script include part is not invoked and I am not able to see logs. Please identify the issue.

 

RFJ1_0-1723192170633.png

 

RFJ1_1-1723192298398.png

 

RFJ1_2-1723192324435.png

 

Thanks!

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@RFJ1 

Few observations

Script include

1) you want to return only 1 value i.e. email then why to send JSON?

2) line 13 won't trigger as you are already returning

Client script

1) are you sure there is no space in script include name

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

There is no space in script include name and I have made the two corrections on script include. Still Script include won't trigger