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

Forum Posts

Resolved! List Control

Hi All,I'm trying to hide "Edit" in the change task related list by using advance script in list control   for people without change_manager role and also there is an OR condition with respect to state.Please review my code,var answer;if(gs.hasRole =...

find_real_file.png
sunny13 by Giga Expert
  • 7085 Views
  • 31 replies
  • 2 helpfuls

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
  • 4651 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
  • 2014 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
  • 2879 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
  • 3360 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
  • 2483 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
  • 5396 Views
  • 10 replies
  • 0 helpfuls