Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

What is the best way to report a (very annoying) bug I found?

Tim125
Mega Contributor

I'm using a test instance of London to check out creating scoped applications. I have created a basic scripted rest service and I have some gs.info calls for logging. I discovered that if you log the request data in the manner below with gs.info that it deletes it and subsequent operations don't work:

//any calls accessing properties after this call will return undefined
gs.info(request.body.dataString);
var data = request.body.data;
gr.setValue('caller_id',data.company);

It took me quite a while to figure out that simply removing the logging fixed it and I would like to file a bug to get it fixed. What is the best way to do that? 

 

 

9 REPLIES 9

Yes, need to be a customer to get an account on Now Support (HI).

That's kind of regrettable because personal developer instance users won't be able to report bugs.

yeah, they should really allow that.

hi

Do you have PDI on London release?

I thought that this version is no longer available on PDIs....

Do you have ServiceNow in your company, they certainly will have access to the HI Portal.

If yes, try to reproduce that bug on one of the sub prod instances, which runs under HI control.

Ask them, if they can raise a ticket there.

BR

Dirk

Sajilal
Mega Sage

Hi Tim,

It might also be an expected behaviour, was the logging statement correct? For example if you had your statement as

gs.info("request.body.dataString");

It would have not stopped your next line of code for operations. But please feel free to raise a Hi Ticket for your concerns. Just a suggestion, I feel the operation worked as expected.

Please Mark as ✅ Correct if this solves your issue and also mark ???? Helpful if it helps resolve your problem.

Thanks,
Saji

 

DirkRedeker
Mega Sage

Hi

In the first line, you address "dataString" and in the second line just "data".

Is that by intention?

That are two different variables then.

Did you make sure, that both variables do hold any value at all?

Let me know if that answers your question and mark my answer as correct and helpful.

BR

Dirk