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

Forum Posts

Resolved! What is the default "ORDERBY" for GlideRecord?

Hi all,   What is the default order the system queries/displays records in GlideRecord API?    For example,  var gr=new GlideRecord('incident'); gr.query(); while(gr.next()) gs.print(gr.number);   The system displays all incident numbers, but in what...

Resolved! Problem with calling function inside the same script include

Hi guys, I have a problem with calling a function in the same script include, slicedata: function(field) { var table_created_on = new GlideDateTime(field); var table_date = table_created_on.getDate(); var table_month = table_date.toString().split("-"...

Serhii5 by Mega Guru
  • 7338 Views
  • 5 replies
  • 3 helpfuls

Resolved! How to check any field reference/existence in Servicnow?

Hello,There is one field "XYZ" where I want to inactivate it, but before doing that I want to make sure whether this field has been used anywhere in service-now scripting, table, BR, etc.As I have not created this field so I am not aware of its use. ...

Virendra K by Kilo Sage
  • 8341 Views
  • 7 replies
  • 6 helpfuls

Resolved! Select inside ng-repeat with ng-options and ng-model

Good Morning, Hope everyone had a great Easter, I'm stuck on a tricky piece of code I can't get right, I'm using an ng-repeat to build out a catalog of hardware devices, in this case its Laptops, we have added a button which quickly allows people to ...

find_real_file.png
Ashley by Mega Sage
  • 6114 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to check user is logged in or not.

Hello,  How to check user is logged in or not.  ex - when user receives an email and in that user receives some link and after clicking on that link it should check whether user is logged in or not if yes then it should redirect user to particular se...

When are records written to sys_history_line table?

Hi I need to retrieve all of the customer visible work notes on a CSM case record (and probably ITSM incident too).  I've done this by querying the sys_audit and sys_history_line tables, but our System Architect has said this needs to stop. From what...

Andy105 by Kilo Contributor
  • 3722 Views
  • 3 replies
  • 1 helpfuls

Link email notifications to portal

I am working on notifications for our end users and wanted to start having them point to the portal. I did some researching and found this post: https://community.servicenow.com/community?id=community_question&sys_id=79d187a9db98dbc01dcaf3231f961933 ...

Christine24 by Giga Expert
  • 3186 Views
  • 21 replies
  • 1 helpfuls

How to stop UI Page Redirection after Clicking 'OK'

Hi All, I have a UI page for transferring a HRCase to IT Group and once I select the Assignment group and Click OK . The issue I have is after clicking on OK , the page is getting redirected and not staying on the same form . Please let me know what ...

find_real_file.png
Mrman by Tera Guru
  • 4070 Views
  • 15 replies
  • 0 helpfuls

Resolved! Change Embedded Help page/content font color

Any way to change the Embedded Help -> Help Content font color? We themed our servicenow instance to use a lighter background for the navigation and help menu and now we're finding some embedded help articles are unable to be read because the font co...

find_real_file.png
Ryan74 by Tera Contributor
  • 2061 Views
  • 3 replies
  • 1 helpfuls