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

Forum Posts

Resolved! Script for calculating password expiry date

Hi, I need to setup password expiry notifications for users whose password are about to expire 10, 7, 4, 3 and 2 days before. So I have setup the event, and notification, but I need help with the script in the scheduled script execution. I have a fie...

find_real_file.png
Khalnayak by Kilo Sage
  • 2841 Views
  • 9 replies
  • 2 helpfuls

Resolved! Disable notifications for catalog items

I have a catalog item which doesn't need Request(sc_request) notifications.How can I exclude notifications for only 1 catalog item and include sc_request notifications for remaining catalog items?.   I want to add conditions like Item is not XXX then...

Pintu2 by Tera Expert
  • 3161 Views
  • 3 replies
  • 11 helpfuls

Resolved! UI action use scratchpad

HI All, I have a business rule capturing user logged in with some roles validation and captured in scratchpad value. and now I want to use that scratchpad in UI action - conditions section for displaying button on validation. How can I use g_scratchp...

Lean S by Mega Expert
  • 4880 Views
  • 5 replies
  • 0 helpfuls

Resolved! Jelly Script get Parameter from URL

Hello, I am trying to get parameter from the URL in UI pages. URL - https://xxxxxx.service-now.com/incident.do?sys_id=-1&sys_is_list=true&sys_is_related_list=true&sys_target=incident I have tried the below code <g:evaluate var="jvar_sys"> var sys...

rad2 by Mega Sage
  • 3586 Views
  • 15 replies
  • 4 helpfuls

Resetting/Emptying variable values onSubmit

I need to do multiple request/order of the same catalog form, using Add to Cart and I need to clear these two fields everytime I click on the add to cart button.Catalog Client Script doesn't work clearing/resetting/emptying the variables because it a...

nomadie by Kilo Expert
  • 3522 Views
  • 11 replies
  • 1 helpfuls

customization on "SC Order Guide" widget which controls the final summary page In OOB, the quantity column is not editable.

  Issue: requirement to change the quantity values in shopping cartDescription: Quantity in shopping cart of item based on variable Items selected for the the order guide This requirement would need a customization on "SC Order Guide" widget which co...

find_real_file.png

Resolved! How to use ng-if for angular in portal

I am new to portal and angular, Can you please guide me here..What i want is when i put invalid incident number in the text field it should give error message Html <div class="form-group"><input class="btn btn-primary btn-block" ng-click="c.addItem()...

JDBCProbe via Script

Ok Guys and Gals....I feel like I've exhausted all possible avenues of trying to find answers.  I am attempting to import data from an external Oracle database. I have successfully built a Data Source and passed a SQL statement which works. This only...

LDAP with SSL using MID Server

Anyone know the reason why the SSL checkbox should disappear when using a midserver for LDAP? Ive seen the note ""Note: The SSL connection is not available with the MID Server."" on this page https://wiki.servicenow.com/index.php?title=LDAP_Integrati...

Resolved! UI Page Columns

Hi, I have a UI page that "pops up" at the click of a button and asks the user some questions which are then used to populate fields on the form. This is part of some adaptations to the major incident management process that we want to put live. I ha...

find_real_file.png

convert user to contact

We have a need to convert an existing User record to a Contact.     We wrote a script that would identify these User records as they are created and it updates the class on the sys_user = 'customer_contact'.     While the update works, the correspond...

Resolved! Extract Month-Year from Date into a String

Hi Everyone, I want to extract the Month & Year from the date field 'opened_at' in the Task table into a custom string like u_month & u_year. Does someone knows how can I achieve this? Many Thanks!

find_real_file.png
Tony M by Kilo Expert
  • 14697 Views
  • 8 replies
  • 2 helpfuls

Resolved! Alert message that pulls field values on form

Trying to create a catalog client script alert message that pulls information from populated fields as part of that alert message. Below are the field values in the record producer. Below is the script.  The Alert fires, but doesn't pull the values ...

find_real_file.png
jasonjones by Giga Contributor
  • 4381 Views
  • 4 replies
  • 2 helpfuls

Resolved! Preview Record button on Display Only reference fields

I need to be able to preview a record referenced by a Reference field, even when it is display only.  So far, the Preview Record button is only available if the field is editable.  How do I configure the reference field so the Preview Record button i...