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

Override the reference Qualifier

On the case is created currently contact is getting populated based on the account I had selected. when account has been changed contact getting empty if that account has no contacts. But requirement is contact should not empty even after i change th...

Documentation for nowAttachmentHandler

One thing that I find extremely frustrating with Helsinki release on upward is the severe lack of adequate documentation in the new docs.servicenow.com area.   The old Wiki is far superior (granted it much more mature), but even then there's a lot of...

xiaix by Kilo Sage
  • 12907 Views
  • 5 replies
  • 16 helpfuls

Resolved! "Wait for condition" + "Business Rule" do not execute as expected

Hello guys! I have a problem regarding a specific Catalog Item's sc_task (SCTASK). Update: The workflow is based on sc_req_item table. This specific task has the following "Wait for condition" script in the workflow:   if (!gs.nil(current.project_res...

ronro2 by Tera Contributor
  • 2376 Views
  • 10 replies
  • 2 helpfuls

How to get Request Status Code in a Scripted REST API

There is an Inbound Integration I am working on, In my case I had written a Scripted Rest API with POST Method, when the client hits my custom API , i am able to modify data in certain table in my instance.Now i need to get the satus code of the Requ...

How to get value/string from URL after & symbol .

Hi All, I have a requirement to populate the value from URL, actual value is(&sysparm_phase=6%20test%20&%20plan) '6 test & plan' i am able to get till '6 test' but '& paln ' is not populating it is trimming  off, so what needs to changed in client sc...

Neelavathi M by Tera Contributor
  • 2454 Views
  • 11 replies
  • 0 helpfuls

Running PowerShell script in Servicenow

Which is best / efficient way to run Powershell script from servicenow?  1. using Flow designer and integration hub2. Business rule3. using the script action and events? please let me know which of the above can be a preferred way to go for running t...

knowledge articles UI action

Hi Team, can anyone help me please I have created a custom UI action on knowledge table. I required to give the kb number in URL path. But here always picking the expired article.function onClick(g_form) {    var sys_id = g_form.getUniqueValue();    ...