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

Forum Posts

Resolved! gs.getUser().hasRole('anytext') always returns "true"

I figured aut a strange behaviour with hasRole() function. We are on Istanbul Patchlevel 4You can reproduce by opening background scripts winodow and run following script:gs.log(gs.getUser().getDisplayName())gs.log(gs.getUser().getRoles())gs.log(gs.g...

Vespertinus by Tera Expert
  • 56019 Views
  • 19 replies
  • 28 helpfuls

Resolved! Partial API Error in IntegrationHub ETL

Hello,   I am working on Integrating Cisco Collector with ServiceNow via the IntegrationHub ETL. I have the REST API's for getting data from Cisco Collector, the Oauth app has been registered and also can successfully get the token. The error I am se...

Varun M by Mega Contributor
  • 4415 Views
  • 6 replies
  • 3 helpfuls

Praying review List for different variants

Hello,So we have several variants in the UI builder based on roles that display different dashboard files based on the role for the variant.  When I click on the tiles in any of the variants, the columns are the same on the preview listI have been as...

Resolved! Question on Authentication

I came across this question in some doc. I did not get the meaning of it. Looks like partial question to me.Any idea of above answer is correct? What is the context of this question?

Suggy_0-1737175252469.png
Suggy by Giga Sage
  • 606 Views
  • 2 replies
  • 1 helpfuls

DELETE records aren't captured in scoped app

Hi community,I develop scoped application and install through My Company Applications to QA and PROD.I encountered an issue regarding deleting records. We have dozens of Transform Maps, Scheduled Jobs, Fields etc. which must be deleted on the PROD in...

Imi NOW by Tera Contributor
  • 1094 Views
  • 5 replies
  • 2 helpfuls

How to increase the speed of my code execution time?

Hi,My code execution time on a average of 15-18 seconds. I need to decrease my code execution time to less than 5 seconds. Below is my code.var usedByOrgVal = "All"; var arrFinCount = []; var arr = []; if (usedByOrgVal == "All") { arr = ["...

Hari1 by Mega Sage
  • 622 Views
  • 10 replies
  • 0 helpfuls