Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

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

Forum Posts

Resolved! field CONTAINS filter in API link

Good morning quarantined fellas, I'm asking for your help to understand how to insert a Field Contains filter to an API link: display_name (Contains) 'Alteryx' OR (contains) 'Tableau' https://xxxxxxxxxx/api/now/table/alm_entitlement_user?sysparm_fiel...

David Munoz by Giga Contributor
  • 6261 Views
  • 6 replies
  • 4 helpfuls

Resolved! Change glide date format to dd/mm/yyyy

Hello, I am trying to change a new glide date format to dd/mm/yyyy before changing it to a string. So far my code is not working, what am I missing? var gdt = new GlideDate();gdt.getByFormat("dd-MM-yyyy");var startOfPeriod = gdt.toString();  

JJG by Kilo Guru
  • 8716 Views
  • 1 replies
  • 2 helpfuls

Resolved! current.setvalue

Table = u_test_table Fields = field1, field2  var cartId = GlideGuid.generate(null); var cart = new Cart(cartId); var item = cart.addItem('e2132865c0a8016500108d9cee411699'); var rc = cart.placeOrder(); var number = rc.number//i want to set rc.number...

Sneha39 by Mega Guru
  • 12848 Views
  • 10 replies
  • 4 helpfuls

Resolved! Using script in widget filter

Hello, I have a service portal page with a 'data table from instance definition' widget. It displays records from my 'hours logged' table. I need to use a script to filter the records that it shows, however, I am getting a strange result. Filter Scri...

find_real_file.png find_real_file.png
JJG by Kilo Guru
  • 3890 Views
  • 5 replies
  • 0 helpfuls

Show attachment links in list view

Hello Experts, Is there a way to show the attachments in a list view? For ex, in controls, we have attestation in related list. I don't want user to go into the attestation response to see the attachments. 

Resolved! Variable Table Name - client script

I am configuring a client script and trying to get the value that is set in the field "source_table" which is Type: Table Name. I was looking for more information on the variable Type: Table Name, but nothing stood out to me. Can anyone help point me...

find_real_file.png
Michelle89 by Tera Contributor
  • 4685 Views
  • 10 replies
  • 0 helpfuls

Resolved! How to use the kb_find.do page

Hi I would like to be able to make a search from my case form, backoffice, with two parameters: short description, and product. Looking at the url page syntax, I don't think I can use parameters to do this.   https://myinstance.service-now.com/kb_fin...

find_real_file.png
Emmanuel10 by Kilo Contributor
  • 2178 Views
  • 3 replies
  • 0 helpfuls

Resolved! Trigger event from record producer script

Hello, I have a record producer that allows employees to send a follow-up email to a candidate. In this example, the employee chooses to send a custom email. When submitted, the record producer updates an existing record and triggers the event that s...

JJG by Kilo Guru
  • 2915 Views
  • 5 replies
  • 1 helpfuls

Resolved! Display list of records on service portal page

Hello, I have a two-part question. 1) How can I display a list of records from a table on a service portal page? (Do I need to use a widget? if so which one?) 2) How can I add reference qualifiers to that list? Example: only show records where the na...

JJG by Kilo Guru
  • 7552 Views
  • 8 replies
  • 2 helpfuls

Resolved! isOmitEditButton() condition in UI Action "Edit..." fails

Hi Community I have a problem with the OOB UI Action "Edit...". Condition of this UI action is: (new GlideRecord(current.getTableName())).canCreate() && RP.isManyToMany() && !RP.getListControl().isOmitEditButton() Now on my User Group table, I want t...

Roman Haas by Giga Guru
  • 4958 Views
  • 6 replies
  • 1 helpfuls

Resolved! Ability to open mobile app from email notification

Does anyone know if ServiceNow supports the "openURL" method in their iOS mobile app? I haven't been able to find any information on that, the "canOpenURL" method, or whether there is an entry in the application's Info.plist file that would define a ...

Modules and sub modules

Please find the attachment. there is a requirement to create sub modules. i have sorted till step -3 but not sure how to proceed further subdivisions. 1- application          2- module               3- separator                    4-?                ...

Kanika4 by Tera Contributor
  • 2753 Views
  • 3 replies
  • 0 helpfuls

Resolved! Catalog Client Script onChange - Prevent Loop

I have a field (FieldD) that is set based on other fields on a form. i.e. their onChange event runs a script that updates the value in FieldD.FieldA (onChange recalculates value in FieldD)FieldB (onChange recalculates value in FieldD)FieldC (onChange...