We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more
I am trying to write a script where I will get all active contacts associated with an account, then if the contact does not have the "itil" role assigned, I will set the user_name field to be blank. I have the following snippet: function hasRole(user...
I have created a scripted web service, which has put and post methods. Put method itself calls an import set API. This scripted web service is being used by a third party application asynchronously. Issue is if they send multiple API calls it goes i...
Hello developers, Quick question, is there a way to allow duplicate names on the core company table? The background information is that I manually uploaded several suppliers to our environment. Many suppliers have the same name but different supplier...
Hello, We have an integration between ServiceNow and a chat application inside of our organization.Currently the integration connects to both sides (chat and ServiceNow) with the API, the connection to ServiceNow API is using admin credentials theref...
Folks, I've created a form to add users to a group. The user variable is a list collector, because they can select more than one user. The problem is when I created the workflow, it's not reading the list collector variable, I already separated "for ...
I created a custom table that extends Case [customerservice_case] table, and created a read ACL to allow external users to view it.However, the external users still cannot view the records on the data table widget in CSM Portal.Is there any OOTB ACL ...
Hello Devs, We have a string type variable in catalog item. And we want that variable to accept only integers greater than 8. I am using below regex in my script and it does not accept any number greater than 9. But I want that variable to accept any...
Hi guys,I have a UI Action client-server. Can I use GlideRecord object? It's a good practice or I have to use GlideAjax with Script Include?Thanks,
Hi All, I am looking at restricting child hr groups so that they can only view the cases within their groupe.g. Group A to only see cases assigned under Group A groupGroup B to only see cases assigned under Group B groupGroup C to only see cases assi...
I have a PA indicator that runs a job at 2 AM and gets all Incidents assigned to a particular group On Yesterday. If it matters, it's using the metric_instance table and the assignment group duration metric, the Created On field. It collects the data...
We have several record producers that contain two yes/no questions. One question asks if the transaction is state-funded and the other asks if the transaction is a ledger project. We would like to add tags to to the submission based on what the user...
Hello Everyone, I have written a business rule in sc_req_item table. Using it, I want to update the value of a field which in sc_cat_item. u_qty_available_in_warehouse is the field name I want to update. I am attaching the snap of the business rule....
Hello,URGENTI require a fix script to bulk update category field of the published knowledge article. Yes, I'm aware of (glide.knowman.versioning.enable_minor_edits) this system property but our organization is not allowing us to enable it so i requir...

