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

Hiding Catalog Variables AFTER submitted

HELP!!I'm having trouble getting the show/hide functionality to work on catalog variables after the request has been submitted. THe show/hide works great when the form is being filled out but is lost after it is submitted. I've tried using the UI pol...

pwright137 by Kilo Expert
  • 5968 Views
  • 21 replies
  • 2 helpfuls

Resolved! change report sorted by date

I need to sort a change report by date only - not date and time.My users want a rpeort that is grouped by day.Is there an easy way to do this?

johnrob18 by Giga Guru
  • 2009 Views
  • 3 replies
  • 0 helpfuls

Resolved! Business Rule - Check if a Change Request has a Change Task

Hello all, I have a requirement where a change request must have at least one change task before setting the state to requested.   Below is where I stand at the moment. condition: current.state.changesTo(9)   var tr = new GlideRecord('change_task');...

Resolved! How to create variables from array's?

I am sure I am missing something simple here.   I have a query to a table that looks like below. var sys = "87b4b72c3869310001a8fa55d9ddeb4b"; var bud = new GlideRecord('u_demand_budget'); bud.addQuery('u_demand.sys_id',sys); bud.query(); while(bud....

CPKIII by Tera Expert
  • 2470 Views
  • 10 replies
  • 0 helpfuls

Need UI policy to check Related List

Hi,I need a UI policy to make a certain field on the Change form mandatory when the Related List for "Incidents Pending Change" is not empty.   How would I write the condition for the Related List?   Please help.Thanks,Maria

Incident Response SLA re-starts on re-assignment

We've got some incident response SLAs that are causing problems. The start condition for each is "Priority is priority" and "Service(u_service) is SAP". The Stop condition is "Assigned to is not Empty". So far, so good: The SLA starts and when someon...

rlegters by Mega Expert
  • 2454 Views
  • 6 replies
  • 0 helpfuls

Resolved! Clearing date fields using list edit or update all

Does anybody knows how to clear date fields using the List Edit or Update All/Selected method?It is possible to clear text fields but not date fields.The Wiki article (Editing Lists - ServiceNow Wiki) does not mention anything about and I was wonderi...

Mail Scripts and the email Object

I'm working on a complex email notification and I'm looking for information on the "email" object that's available from within mail_script tags. My immediate concern is updating/overriding the recipient list of the generated sys_email record. So far ...

Resolved! Getting UI Action Name in Business Rule

We have been working on the "New Call Plugin" and running into some issues determining which button was used to save/submit.  I am new to ServiceNow and am looking for an answer to this question, but will happily accept any alternate methods of accom...

Resolved! How to replace Dynamic content in a string variable.

Hello all ,I am trying to replace all the contents present in one variable   in another variable dyamically as below.var src = g_form.getValue('U_test');   var src1= g_form.getValue('U_test1');var src2 = g_form.getValue('U_test2');var my_new_str = sr...

adarshs by Mega Contributor
  • 3186 Views
  • 2 replies
  • 0 helpfuls

VMWare and Serial Numbers

Client came to me with a need to modify Discovery. All of their ESX Servers had a VMWare serial number (e.g. 12345c1c-1234-123a-123b-b1c23f4c5678). They want the actual server's hardware manufacturer serial number instead. SSH and SNMP were not an op...

Resolved! Removing duplicates from a table filter

I have a template system in place which checks the current users groups and only shows them templates that are assigned to those groups.My issue is if a user is in 2 or more groups that have access to these templates then the template is shown multip...