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

Modal Window wont close on "OK"

Hello, for some reason the modal window in the image below will not close when I click "OK" button. It will close if I click "Cancel" button.  Below, is the function that I'm using in my UI page client script.Note: The function works fine except it d...

Screenshot 2023-05-18 at 2.15.19 PM.png
DanielG by Tera Contributor
  • 1342 Views
  • 3 replies
  • 0 helpfuls

Changing column names in List - Simple widget

I am building a experience and want to display a list of records. Selecting the "List - Simple" widget, I can add columns, but two of them are references to customer_account and customer_contact, both of which have a "name" property. How can I change...

MikeHashemi_0-1684952195522.png

Resolved! Create a related list filter based on parent form choice field

Hello, I have created a custom table based on available course offerings. On the form, I want to include a related list of Knowledge articles. I want to filter the knowledge articles based on the title field on the form. The title field is a choice l...

kkay by Giga Expert
  • 1873 Views
  • 5 replies
  • 2 helpfuls

Flow Designer Approval List

Hi,I've been reviewing what I can find in Community and KB and I'm not completely following if I can set up my approvals as I'd like to.  Here's my situation.I'm creating a flow and as part of the flow, I created a lookup records action to get a list...

Karen16 by Giga Guru
  • 2066 Views
  • 1 replies
  • 0 helpfuls

Resolved! Flow JDBC step Complex Object Output

Hello, We have a requirement to set the priority of a request equal to the highest priority open order in our Oracle database. Using Flow Designer we've created a JDBC step and successfully tested a connection and query. The query returns an integer ...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png

What is SNC.RoleManagementAPI() used for?

I see below script in a create ACL on grmember table. Need help to know what it is doing actually. var rmAPI = new SNC.RoleManagementAPI();if (!rmAPI.isAllowedToGrantGroup(current.group)) answer = false;else answer = true;

Chandler2 by Tera Guru
  • 4888 Views
  • 4 replies
  • 6 helpfuls

Resolved! Business Rule to Close INC and Create RITM

Hello all, I'm very new to scripting, but I'm trying to put together the following: Expectation:If a user is in a group called MXUsers and they submit an INC, it should be closed and a REQ should be created and trigger the workflow for a specific cat...

Tyler Jones by Tera Contributor
  • 1375 Views
  • 5 replies
  • 0 helpfuls

Resolved! UI Action Condition - multiple conditions not working

Hello,I have a UI action and I need to add 2 conditions to the "Condition" of the UI Action. The logic is if user has demand_screener role AND state is 8, 28, or -4 OR if user has demand_manager role AND sate is not 8, 28, or -4 Here is the code i ha...

SandyL83 by Tera Guru
  • 912 Views
  • 2 replies
  • 0 helpfuls

Debugging Script Includes

I am trying to debug a script includes being called by an artifact configuration.I have inserted a "gs.log" statement at the very beginning of the script includes.I have inserted a second "gs.log" statement at the very beginning of the first function...

machiavvelli by Tera Contributor
  • 2375 Views
  • 11 replies
  • 2 helpfuls

Service Portal Public Widget - Add attachment ?

Hello, I have create a public widget on service portal to allow not logged-in users to add attachments to a custom table.   The pop-up is opened to choose a file but when i click OK it seems that something block with permissions :    Adding attach...

find_real_file.png find_real_file.png find_real_file.png
ASA5 by Kilo Sage
  • 4316 Views
  • 9 replies
  • 3 helpfuls