Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! Incident - require a KB submission on closed

I want to:     When checking the Knowledge checkbox on Incident Resolution section of incident form, a knowledge article is created from resolution/closure notes and sent to the "Knowledge" manager to approve for publication.I believe this would use ...

paw2 by Tera Expert
  • 2746 Views
  • 3 replies
  • 1 helpfuls

Resolved! Why does GlideDateTime field not setting properly (sets the correct date but the time is set differently) using setGlideDateTime?

/* SCRIPT */var gr = new GlideRecord('u_xyzTable');gr.get('4d967a180fe70200b8de46a32050e20');gs.print('u_a_date : ' + gr.u_a_date);var newDateValue = new GlideDateTime('2014-04-07 08:17:00');gr.u_a_date.setGlideDateTime(newDateValue);gr.update();gs.p...

NYoks1 by Giga Expert
  • 4853 Views
  • 8 replies
  • 1 helpfuls

Using SNC Regex API to enhance performance

Hi folks,Anyone can assist me with a SNC Regex expression enhancement, currently I have the regular Java Script email regular checking which has overwhelmed our Non-Production instances, I have been advised to use SNC Regex API to reduce the performa...

georgechen by Kilo Guru
  • 4330 Views
  • 3 replies
  • 2 helpfuls

Resolved! display message for related list

I would like to have a pop-up be displayed to an ITIL user when a Configuration Item Related List is present and active. I have been reviewing and i can add an info message at the top but this can easily be ignored. What i have come up with a simple ...

carlosrlara by Mega Expert
  • 7281 Views
  • 22 replies
  • 3 helpfuls

Resolved! export to excel.

Hello. How i can export incident to excel file?. I can do it to PDF and XML   but not to excel. Is there any way to do it.

Inbound action script being skipped

Forgive me, I'm not seasoned at this at all. I've manged to determine that these Inbound Action scripts are JavaScript and I attempted a resolution to this myself which I'll explain, but in essence here's what appears to be happening...We have a numb...

apage by Kilo Explorer
  • 3725 Views
  • 7 replies
  • 0 helpfuls

change max length

Need to change the Max length of description in server module, but the description is referred to the parent table (cmdb_ci) ?I did change the max_length in dictionary of description in server form but it is effecting all the modules in the cmdb_ci. ...

gdk by Kilo Contributor
  • 3857 Views
  • 4 replies
  • 4 helpfuls

Resolved! Why is my OnLoad UI Policy not being respected?

Greetings, I have a UI Policy set as follows:Business Services Affected is just a List Reference field to the Business Service field.   What's happening is that onLoad it is not hiding the region field, even though business services should be empty s...

find_real_file.png
bcronrath by Kilo Guru
  • 3270 Views
  • 4 replies
  • 0 helpfuls

Resolved! Update GlideRecord on query

I've added a u_last_query_date field to the cmdb_rel_ci table.   I need a rule that says when you query that table, and you explicitly add the parent, child, and type fields, then I want that record queried to set the u_last_query_date field to the c...

grosch by Mega Expert
  • 6433 Views
  • 4 replies
  • 3 helpfuls

Resolved! Email filters conditions

Hi,We have set up email filters and ignore emails if it comes from certain users which we consider as spam and put them in the junk folder. For this purpose we have setup the conditions using the condition builder. As per the wikis Email Filters - Se...

shalini44 by Tera Expert
  • 5941 Views
  • 7 replies
  • 4 helpfuls

Resolved! If current date is X days before start date

While I would finally call myself mediocre at scripting, i am still very much amateur at date scripting. I am setting up a workflow where I want an if script to run. I want the if script to say:if ((current date + 4 days) > current.variables.req_star...