We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! How to ignore Business rule triggered by GlideRecord

We are developing a servicenow enforcer. And facing a business rule trigger problem.For example, there are 2 before query business rules, one on incident table, one enforce on caller table.When incident business rule(filter query) are executing, some...

ray_bai by Kilo Contributor
  • 10751 Views
  • 5 replies
  • 2 helpfuls

Resolved! Work notes mandatory when assignment group changes

Hi Team,When a request is re-assigned to a different assignment group I need work_notes to be mandatory.If I am re-assigning to a different user within the same group work_notes should not to be mandatory.For that I have written client script onsubmi...

Displaying as "Undefined", when we get value from table

In a Catalog item, when we try to get a value from a table, the field on the catalog item is displaying as "Undefined".I have also written a Client script to clear the value, but the "undefined" is not getting cleared.Please suggest.

kss by Kilo Guru
  • 1619 Views
  • 4 replies
  • 0 helpfuls

Resolved! Why would my additional comments Not be using the api?

I'm doing a business rule that is using the REST Put method (which is working perfectly). I'm using the script inside of a business rule and when I put something else into the field (different variable) it works, when I try current.comments it's blan...

com.glide.processors.soap.SOAPProcessingException: Web service update called for a missing record: 1883aa810f3df5001fb4715be1050e38

Hello Experts,We are testing the incident - wsdl in SOAP UI tool. Using the insert we are able to insert a new record in Service now. Now from the soap response, copied the sys_id and we are updating record using the sys_id, it is giving us the follo...

ravikumar by Kilo Explorer
  • 5454 Views
  • 10 replies
  • 1 helpfuls

Resolved! getDisplayValue returning value from wrong field

I have multiple fields on a form.   I'm trying to get the value of a choice-list field called 'patient_category'.   But, the following code always returns the value of another field on the form -- the patient_name field.   regardless of what field I ...

___miked___ by Mega Contributor
  • 3895 Views
  • 16 replies
  • 4 helpfuls