The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

Can we use SSO if we already have a LDAP setup?

Hi all experts,We are planning to implement Single Sing-on in our service-now instance. We had a LDAP set up from beginning for user authentication and data imports to user table from active directory. We want to use this LDAP set up for data imports...

souren0071 by Tera Expert
  • 4308 Views
  • 10 replies
  • 6 helpfuls

Resolved! Metrics scripting

I want to capture the assignment group at the time of SLA breach on task table. So I am using the below codeif (current.active) {       if (current.has_breached.getDisplayValue() == 'true') {                 createMetric();       }}  function createM...

rezacol by Mega Expert
  • 3938 Views
  • 12 replies
  • 0 helpfuls

Resolved! View rule not working

I have created a view and a role for custom requirements. Now I have to set that view based on the role. Whichever user has that role needs to be shown only the custom view and they should not be able to change it. I have created a view rule with the...

Khanna Ji by Tera Guru
  • 3986 Views
  • 4 replies
  • 0 helpfuls

Resolved! How to clear the field using the UI Action?

HI All  I have set the UI action script as below, but it doesn't work. What is the cause? current.u_reference_field=='';action.setRedirectURL(current);current.update();  

Nakata1 by Tera Contributor
  • 1549 Views
  • 9 replies
  • 4 helpfuls

Difference between single index and combined index

Hi,   I have a requirement to have indexing on 2 fields of a table, but I am not sure should I have use separate indexing for the fields or have combined indexing? How to analyse which indexing should be used when? and if we have separate indexing th...

Community Alums by Community Alums  
  • 4330 Views
  • 3 replies
  • 2 helpfuls

Dynamic Filter on List Collector Bases on Select Box

Hi, I have a requirement where I have 1 Select Box (Select Application)  and 1 List Collector ( Select role/entitlement )  as the image below -    I want a regex pattern or any mechanism so that I can get below -  1 - When the user selects SAP in the...

find_real_file.png
Piyush Kumar by Kilo Contributor
  • 1912 Views
  • 3 replies
  • 0 helpfuls

How to remove order now button?

Hi all, I have a requirement to remove order now button. on a catalog item there is a variable with YES/NO type. If YES is selected the order now button should be removed and a message should be displayed and if NO is selected the Order now button sh...

Vihar3 by Tera Contributor
  • 3581 Views
  • 5 replies
  • 1 helpfuls

Resolved! UI page does not close from client script

Hi , I am trying to close the current UI page through client script but unable to close it . Please help. Client script Code : function onSubmit() {var close = confirm("Thank You for your response. Please click on 'OK' to close the page");if (close) ...

Sagaya1 by Giga Expert
  • 2823 Views
  • 6 replies
  • 2 helpfuls

Resolved! Choice list based off a list field from another table

Hi All, I'm looking to have a choice list on a record be based off a list field or string field with a comma separated value from a related record on another table. Basically, we have a custom Contract table (u_contract) that is related to the Compan...

Resolved! How to display locations based on company in catalog

Hello Community, I have two variables in catalog item  1. Vendor - reference to core_company 2.locations - reference to cmn_location So if i select company and it should be related locations in location reference for example if select japan and it sh...

nagaklv by Tera Contributor
  • 2022 Views
  • 11 replies
  • 5 helpfuls

Resolved! ui macro not working properly

hi all, below is the code of my UI Macro and i can only see image icon but i whenever i click on that icon it doesn't open the teams app am not getting where am i wrong. also i have set by default app protocol for chat as teams still its not working ...

Automated Test Framework for Security rule (acl) ?

Hi All,   How can I test the table & field level ACLs using ATF? I tried to use field state validation but it doesn't work. E.g. User do not have access to number field (tabled level access restricted. But ATF shows that user can read number field: ...

find_real_file.png find_real_file.png