Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Help in Scripting if(gr.next()) is not working

After madrid upgrade this script is not working in prod, the same is working in kingston. Below code is displaying description of incident on approval request in portal but description is not getting visible after madrid upgrade only for incident. ki...

priya149 by Mega Contributor
  • 6893 Views
  • 25 replies
  • 2 helpfuls

Filter reference field to return users in a group

Hi all, Wracking my head with this one. Finding tons of posts on community here about scripts, script include, javascript reference qualifiers etc. I have gone through about 10 posts but can't seem to get any work. Finding it a bit annoying. Would as...

find_real_file.png

How to unit test business rule methods

Dear all, I am studding the best practice for implementation unit testing in Service-now.For that I have cover different documentation on ATF and Jasmine framework.To day I understand we have 2 different point to consider: - Testing for Client operat...

wakespirit by Kilo Guru
  • 3586 Views
  • 3 replies
  • 2 helpfuls

LDAP integration creating Duplicate Accounts in User Table

We are having LDAP integration in our instance and we are facing the below issue.   When a new user is created in AD, the account gets created in Service now. But when a user account is deactivated and after some time, if the account is re-activated ...

rinadsouza by Giga Contributor
  • 3393 Views
  • 5 replies
  • 1 helpfuls

Prevent user from deleting the attachment

I have a requirement to restrict user from deleting the attachment in requested item table.If any one has implemented this requirement please share your thoughts.Thanks in advance

kumaran by Giga Expert
  • 6184 Views
  • 9 replies
  • 6 helpfuls

Resolved! Error handling in GlideAjax

I cannot find any documentation related to error handling when using GlideAjax. Not even documentation on the type of object that is passed to the function passed to the getXML method. Upon further inspection I did manage to find status and statusTex...

Resolved! Trying to use sevice now Email API to send an email

I'm trying to use the Email API to send and email.  I've fired up a Personal Developer Instance, added email_api_send role to the admin account, turned on email send/receive in email properties, and am sending the following... curl "http://devxxxx.se...

Gareth Jones by Kilo Contributor
  • 5523 Views
  • 6 replies
  • 1 helpfuls

Resolved! Disable WISHLIST for specific catalog items possible?

Hi, we now enabled the wish list, but I would need to be able to disable it for specifig catalog items. If this is not possible, I wonder how I can identify if the catalog item is loaded in the with list contexts, as all catalog ui policies are not s...

Zod by Giga Guru
  • 3014 Views
  • 5 replies
  • 1 helpfuls

Resolved! "Order" field. What does it mean?

Gyazo - 21642365331aed2c3c23aabc125fb820.png Can anyone explain what it actually means?Does it need for order purposes?And if I set first order to 1 and second order to 2, what it should be in result?Thank in advance for explanations

stryker129 by Mega Guru
  • 14457 Views
  • 8 replies
  • 11 helpfuls