Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

List Collector Array in Run Script on Workflow

Greetings: I have been struggling with getting an array for a list collector on a catalog form to work.  I want the below script to take the list of servers contained in the variable "select the server" and add them to the Affected CI's related list....

Resolved! Adding JSON array to existing JSON object

Hello All, I have a requirement to insert the value returned by multi row set(json array) to existing json in the workflow. Could you please someone guide? var obj1 = '{"app_said":"123","app_code":"AAA","application_type":"business","business_unit":"...

Bala19 by Tera Contributor
  • 6785 Views
  • 4 replies
  • 2 helpfuls

Resolved! Passing JSON Response to Widget in Correct Format

I have developed a Widget based on many of the examples available in the community that displays results from an external REST API call. The widget reacts appropriately (it updates based on the selection in a field on the form), but I am having a dif...

find_real_file.png
bdsibert by Tera Contributor
  • 3087 Views
  • 7 replies
  • 0 helpfuls

Resolved! Database View select data from 2 tables

Hello, I've been struggeling with this issue for a long time and can't find a fix - I need to create a report based on the Problem and Incident tables. All I need to do is create a database view with the records listed from incident and problem - wit...

Piotrekek by Kilo Explorer
  • 3215 Views
  • 1 replies
  • 0 helpfuls

Resolved! Filter out Records hidden by ACL

I used an ACL to hide Employee Fields from a basic Employee on our Employees Table Here's the ACL Condition Script Here's what the Basic Employee sees on the Service Portal How can I write a filter to the Data Table from Instance Definition Widget ...

find_real_file.png find_real_file.png
Pablo Lopez by Kilo Contributor
  • 1451 Views
  • 1 replies
  • 1 helpfuls

Resolved! Restrict values in a reference field based on user role

We have the Service field on our incident form.  One of the services in the table is "SAP".  I want to restrict the selection of SAP as a business service in an incident to only those users that have the role "sap_authorized_user" (this is a new role...

Resolved! Mandatory fields have different colored asterisks.

On my record producer I have a several mandatory fields. Generally a mandatory field has a red asterisk. Some of the fields mentioned below have red and grey asterisk both. Expected behavior- All fields should have red asterisk. Once the field is fil...

find_real_file.png

Resolved! Add a schedule lookup for client script/script include

I apologize for the long post.  I'm trying to add a schedule into my current script include and can't seem to get it working correctly.  I need to look at a date variable and if it's less than 7 business days, mark a yes/no field as 'yes'.   It works...

booher04 by Tera Guru
  • 2256 Views
  • 8 replies
  • 2 helpfuls