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

Resolved! Onchange client script validation for String variable

Hi All, I am trying to validate a String variable to check it has only Letters and does not contain numbers and it should be in below format having 13 letters     Could you help me with the Onchange Script for alpha numeric  , I tried below but not w...

Mrman by Tera Guru
  • 1863 Views
  • 10 replies
  • 0 helpfuls

Resolved! How to add 2 Business Days to current Date?

Hi, I need to add 2 Business Days (just skipping Saturday / Sunday does not work)to current DATE (not DateTime). Need to leverage standard SLA schedule of business days ... within a scripts .. so I just have new GlideDate() and 2 and require the new ...

Zod by Giga Guru
  • 2895 Views
  • 2 replies
  • 1 helpfuls

Resolved! Make readonly/Disable ui page

Hi All,I need to disable a ui page which is triggered but based on certain condition.Points to consider: 1. Alert page is displayed when user clicks 'approve n send' and expected review time is not met.2. In my current setup, when user cancel on Aler...

find_real_file.png
Rj27 by Mega Guru
  • 2425 Views
  • 12 replies
  • 0 helpfuls

Resolved! Cancel change with user Confirm Alert UI Action

SN Team,In the process of modifying an existing Cancel Change UI Action. The goal is for the new UI Action to provide an confirmation window before proceeding with the Cancel Change request.I have reviewed the following articles and here is what I ca...

JahanzebB by Mega Guru
  • 4808 Views
  • 16 replies
  • 3 helpfuls

Resolved! Changing the state of the state using background script

Hi All, I have used the below script for closing the change request associated with the ritm,   var gr2 = new GlideRecord('sc_request');gr2.addActiveQuery();gr2.addQuery('sys_id','***********'); gr2.query();   while(gr2.next()){gr2.request_state ='cl...

Devika3 by Tera Guru
  • 2607 Views
  • 4 replies
  • 1 helpfuls

Resolved! REST API & the dreaded "maximum execution time exceeded"

I am trying to hit my organizations instance of SNow and get a list off all current CI's. Understandably this is a rather large list and I am getting the referenced Transaction Cancelled error prior to getting said list. Working with SNow in this cap...

Steve C_ by Mega Explorer
  • 6595 Views
  • 4 replies
  • 1 helpfuls

Resolved! copy catalog task activities to ritm

Is there a script available that copies the worknotes entered on a catalog task back to the parent RITM record?   We are using the RITM record to provide status back to the users via the portal.

Resolved! Affected CI & auto populated of Impacted Services ?

Hi All , We try to auto populate the Impacted services based on affected CI in change/incident form , How to achieve this ? As of now , if we choose CI in configuration item field , it will show the same CI in affected CI tab & want to populate impac...

sukran by Mega Sage
  • 3797 Views
  • 13 replies
  • 2 helpfuls

Resolved! Import Set records are not processing....

Hello Friends, We are trying to load records almost 7k via import set tables into target table. But it's in running status from last 10 hours. Some of the records has been processed but some are in progress.Can anyone please us on this. From where an...

basantsoni by Kilo Guru
  • 3814 Views
  • 7 replies
  • 3 helpfuls

Resolved! I got an error "Found a local update that is newer than this one" while moving Update set from dev to test instance. If I accept the remote update in test will I again get the error when I move this update set to production?

I got an error  "Found a local update that is newer than this one" while moving Update set from dev to test instance. If I accept the remote update in test will I again get the error when I move this update set to production?

Resolved! calling a script include from a client script

Hi all,A quick one (hopefully I have a change request form which has a "classification type" field. If the classification type is set to "standard" then a new field appears, in which the user can choose the relevant standard change request. Standard...

Standard.JPG
oharel by Kilo Sage
  • 51039 Views
  • 22 replies
  • 2 helpfuls