ServiceNow AI Platform forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

script in ui script

I have added below script under ui script of supplier portal theme. but not working. It should redirect user to sso page if not logged in.(function() { if (gs.getSession().isLoggedIn() == false) { if (window.location.toString().indexOf('s...

Resolved! GlideRecord query on User table as guest user

I have a script which is extension of OAuthUtil. This runs on login and run as guest user. Based on some computations we need to set some information to session.Another requirement demands that we try to update an entry in custom table and we store s...

kavinderr by ServiceNow Employee
  • 653 Views
  • 1 replies
  • 0 helpfuls

How to repeat catalog variables?

Hi, Have use case which need to repeat the previous variables in service catalog. For Example: My catalog has 46 variables: Based on the input given as yes on 46 th variable I need to repeat the variables from 33 to 46 again. Please let me know how w...

Srini19 by Tera Contributor
  • 972 Views
  • 6 replies
  • 2 helpfuls

Resolved! Recommended Fields on load

Hi, I found an on load script to highlight fields which are recommended on a CI.However the load script did not work and the user is no longer active on this forum. Can anybody advise an issue in the script, or a way to highlight a recommended field ...

EDCT by Tera Contributor
  • 1260 Views
  • 15 replies
  • 6 helpfuls

Using conditions as a Flow Action input

I'm building a custom Flow Action that asks for the Table and Conditions as inputs.   Here I am entering the table and conditions   And here's what Flow Designer thought the conditions were at runtime.   It LOOKS like that's an encoded query.... exc...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Uncle Rob by Kilo Patron
  • 1542 Views
  • 3 replies
  • 1 helpfuls