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

Forum Posts

Encounter Business Rule Script Processing Issue.

Hello,I'm currently learning about Business Rule Scripts, but I've encountered an issue. While the business rule runs on sc_req_item table without errors, it fails to correctly populate the 'requested for' name in the 'sc_task'.Can someone please hel...

Meera_P by Tera Expert
  • 481 Views
  • 7 replies
  • 3 helpfuls

New fields add to RITM form

Hello,This is for learning purposes. We are planning to add new fields to the RITM form. Please let us know if the new added fields will be overwritten after the next ServiceNow upgrade.Thank you

Annie10 by Tera Contributor
  • 509 Views
  • 6 replies
  • 4 helpfuls

Resolved! Trouble detecting user role in script

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...

Resolved! Scripted API Multiple Calls

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...

Resolved! Duplicate Names on the Core Company Table

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...

cnharris1 by Kilo Sage
  • 981 Views
  • 1 replies
  • 0 helpfuls

Resolved! List collector not working with Workflow studio

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 ...

Screenshot_183.jpg Screenshot_182.jpg Screenshot_181.jpg Screenshot_184.jpg

Resolved! Allow String type variable to accept only integers

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...

Rocky5 by Kilo Sage
  • 706 Views
  • 6 replies
  • 0 helpfuls