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

Forum Posts

stay on same page after submission on UI page

I have created one UI page. after submission of UI page i want to stay on the same page from where i trigger the UI page.Do we have any code.?I have putted one code in processing script of UI page as below but not working.var redirect = Packages.com....

IamAmolB by Tera Guru
  • 4768 Views
  • 4 replies
  • 1 helpfuls

Resolved! Extract a reference number from an email

Team - I have read a lot on the forums about inbound actions but I am unable to get the following working for me. Any assistance greatly appreciated:Inbound email subject along the line of:[REF #1234] Create ticket for outageRequirement:Remove REF #1...

andrewdunn by Giga Expert
  • 2185 Views
  • 3 replies
  • 1 helpfuls

Resolved! Does the current time fall within a schedule?

The ask is to have the record producer send incidents to a different assignment group for after hours work in a different timezone. To begin work on this, I have set up a schedule [cmn_schedule] and am wanting to create a script that will run against...

will_smith by Mega Guru
  • 3309 Views
  • 11 replies
  • 1 helpfuls

Resolved! Customization overwrites on upgrades.

It is my understanding that if I modify a script, workflow or form, it is now mine because I applied customization's. My understanding was ServiceNow will no longer apply changes if a customization is made. My last few upgrades I have seen something ...

Setting Value for Document ID field

Hello,Through scripting I am setting value(sys_id of record from XYZ table) for field of Document ID type while inserting record in that table, not sure how to point the XYZ table so that document ID field will allow to set value, can anybody suggest...

mangesh9 by Mega Contributor
  • 3632 Views
  • 3 replies
  • 1 helpfuls

Need to create Catalog UI Policy with a dot-walked condition from a Record producer (and workaround PRB647552 - [Catalog UI Policy] Dot walked condition not working)

There is a known issue: PRB647552 - [Catalog UI Policy] Dot walked condition not workingI asked SN Support for the workaround and got the following suggestion:"It sounds like you may need to construct a script using GlideRecord to lookup the checkbox...

dpopov by Kilo Contributor
  • 2636 Views
  • 5 replies
  • 0 helpfuls

Resolved! Custom Search Multiple Records

Hello Community,           I am creating a custom search on a UI Page. I have a single text box for input. After you type at least 3 characters, it triggers a timer for 2 seconds, then it automatically builds an encoded query using the search terms e...

Ken83 by Mega Guru
  • 5790 Views
  • 10 replies
  • 0 helpfuls

Resolved! dot walking on referenced variable

Hi everyone,I need some help with an issue I am having.I am trying to dot walk on a reference variable using the following syntax. I want to send group approval based on the business service change control field. The change control field is a referen...

Resolved! Event is not getting processed

Hi ,I would like to trigger an event from scheduled job based on count if greater than 0.The event triggers but the state always showing as error.Here is my script.var dt=gs.nowDateTime();var lutil = new Missing_computers().getCount();//gs.print(luti...

jagarnathn by Tera Expert
  • 3223 Views
  • 6 replies
  • 0 helpfuls