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

Forum Posts

show/hide widget with condition

Hello Experts, I have no idea.. why my code is not working. I want to display the widget when the created condition is met.   html <div class="row" ng-show="data.visible"><div class="panel-group">test content </div></div> server (function() { data.vi...

Brook3 by Giga Expert
  • 3279 Views
  • 4 replies
  • 4 helpfuls

Resolved! Search PDFs within a KB

Colleagues,I have about 4000 documents (PDFs) from scans years ago, and I have them in a KB. How can I search their contents since they are images? Can SN search PDF contents within a KB? I have the KB search in a portal page. I entered "five years" ...

find_real_file.png find_real_file.png

Resolved! Prevent Saturday / Sunday from being selected

Attempting to create a catalog client script to prevent a user from selecting Saturday or Sunday using a Date variable.Tried using the following to prevent a user from selecting Saturday or Sunday and nothing happens when upon submission...function o...

billi_lumley by ServiceNow Employee
  • 2958 Views
  • 6 replies
  • 1 helpfuls

Resolved! M2M - Advanced Reference Qualifier

We are trying to use an advanced reference qualifier for our M2M references to filter to specific "hardware". From reading the forums it looks like "parent" and "current" exists; however, when I do a javascript:gs.error("asd" + parent); I get  org.mo...

Kyle Cribbs by Giga Contributor
  • 2901 Views
  • 19 replies
  • 0 helpfuls

Wait condition in scripts

Hi, Is there a way i can write wait condition apart from workflow/designer for my business rule to run. I want to create an incident when mid server goes down but it needs to have a delay for 1 hour before creating the incident unless the mid server ...

Pradeep67 by Tera Contributor
  • 2191 Views
  • 5 replies
  • 0 helpfuls

Resolved! Setting current date and time in a Flow

OK.  I know this should be real simple but not getting the code to work. I am setting a date field using a script instead of a data pill in one of the steps in a flow using the following code: var invite_dt = gs.nowDateTime(); return invite_dt; The s...

Resolved! How to clear the Error Message popup previously?? (It keeps stacking up when hit the error and the first error unable to clear)

Hi Guys, I have a OnSubmit Client Scripts as below, tried to add in "g_form.clearMessages();" in order to clear the precious error messages, but it still leaving the first error on top and unable to clear it. (If I remove the "g_form.clearMessages();...