Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

edit catalog variables after submit on service portal

Hi Team, We have a requirement, when if someone order an item using service portal and it got rejected by the approver, then the requester can edit the same form from service portal to resubmit it for approval, instead of creating a new for the same....

bijender1 by Tera Contributor
  • 3321 Views
  • 3 replies
  • 4 helpfuls

Resolved! Dropdown Variable for catalog item

I have one catalog item. in that catalog item variables I need one variable name "choose Year" This Choose Year Variable, have 3 options such as year 2021, year 2022, year 2023 along with none option with as default choice. How can we achieve this. f...

Amey3 by Giga Expert
  • 13036 Views
  • 4 replies
  • 8 helpfuls

Resolved! Set state field to read only for a new Incident

So, we've noticed an issue where, when creating an incident, if the state field is changed before the form is submitted/saved, the SLA timer doesn't actually start. Meaning we have had P2's technically breach the SLA, but reporting shows that it's ac...

StewartF by Tera Expert
  • 4568 Views
  • 18 replies
  • 2 helpfuls

gel is not a function in Catalog Item OnChange in ITIL

I'm using a list collector in a catalog item. I need to check if the left bucket is empty on change, if so, enable a second field. I wrote a script that tries to get the left bucket using "gel", but when I run it in the ITIL view, it throws a JavaScr...

Jertay by Tera Contributor
  • 2726 Views
  • 4 replies
  • 1 helpfuls

Resolved! How to get Day from Date

Hi, function onChange(control, oldValue, newValue, isLoading) { if (isLoading || newValue == '') { return; } var seldate=g_form.getValue('date'); var objdate=new Date(seldate); var selday=objdate.getDay(); alert(selday); if(selday==0||selday==6) { al...

chanikya by Kilo Sage
  • 8354 Views
  • 29 replies
  • 3 helpfuls

Resolved! How to getHours

Hi, some one please suggest me how to get Hours only from  new GlideDateTime()).getLocalTime(). all client  systems are running in PST zone.

chanikya by Kilo Sage
  • 3983 Views
  • 40 replies
  • 4 helpfuls

Resolved! Get the value of a requested item variable on workflows

Hello,I'm trying to set a workflow to get the value of a requested item variable.I tried to get these information using the GlideRecord sc_item_option_mtom but the request sys_id never match the the request_item .Do you have an idea why ?Thanks in ad...

Hasan4 by Mega Contributor
  • 4632 Views
  • 7 replies
  • 2 helpfuls

Resolved! How to run a Scheduled Job "daily" but exclude weekends

I need to create Scheduled Jobs following a script we created that initiates a Catalog Item, and the Scheduled Job needs to run daily and exclude weekends but I don't see how to select Daily excluding weekends. Any suggestions/direction would be appr...

find_real_file.png
carlav by Kilo Guru
  • 3994 Views
  • 6 replies
  • 4 helpfuls

Resolved! string field to contain only number and special character like $

Hello Team, I have field called fee, which should contain numbers and $,could you help on this, as it should take special character like $ var regexp = /^[+]?\d*$/; if(!regexp.test(newValue)){ alert('Please enter numeric value'); g_form.setValue('u_e...

chandan1994 by Tera Contributor
  • 1411 Views
  • 1 replies
  • 3 helpfuls