Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

Forum Posts

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 Mega Sage
  • 9582 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 Mega Sage
  • 5407 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
  • 5409 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
  • 4943 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
  • 1608 Views
  • 1 replies
  • 3 helpfuls

Resolved! How to skip RITM approval if Manager is the Requested By

Hello, I have a catalog item where I have created a reference variable called "Requested by".  If this field is the same user that the approval is going to I want the approval skipped.   How do I accomplish this? Thank you in advance! Joe

Resolved! Service Catalog category icons/images how?

Ok, I really thought this would be simple. I've setup our service catalog. I've added the categories I want seen. But why can't I add icons to the category widgets on the service catalog page? Why is my only choice to "upload" new images? When I setu...

Resolved! Field value getting cleared OnLoad

Hi All, I am populating Manager of user in opened_by field using script include and Glide Ajax. The opened_by field has logged in user by default. So I want it to work on both onLoad and onChange. The thing here is, for suppose user in opened_by fiel...

Ajay37 by Tera Contributor
  • 2806 Views
  • 33 replies
  • 0 helpfuls

Resolved! Hide Label Name for check box variables

Hi All, As shown in screenshot, how can hide the options label on platform and in portal. I can create a custom label to replace the options, but if I hide the custom label all check boxes will be hidden. Thanks!

find_real_file.png