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

DeleteRecord() Method

Hello Experts,I have written the following script in a UI action to delete all closed-state events. While the code is working as expected, it only deletes 50 records when I click on the UI action button. I want to delete all records whose state is "c...

Mark Wood by Tera Contributor
  • 949 Views
  • 7 replies
  • 1 helpfuls

Use multiple sys ids in one sys_property

I have added sys id of two groups in the system property - ITIL Role based Groups.The scheduled job code should check the users added to the two groups and insert them to another table (u_itil_license_removal_candidates). Also it will check if record...

gunashalini by Tera Contributor
  • 1707 Views
  • 10 replies
  • 2 helpfuls

Resolved! ATF Screenshot not working properly

I have ATF tests with custom UI Step Configs. It's working properly but recently I noticed that the screenshot it is taking is not covering the screen on which the current test was operating then.It always shows some spy glass icon like below for all...

ShanC_0-1694615381889.png
Shan C by Mega Guru
  • 1040 Views
  • 1 replies
  • 0 helpfuls

Masking variables in incident using business rule script

I have created a business rule to mask the variables in incident variable editor when submit a record producer. (function executeRule(current, previous /*, gs*/) {var variablesToMask = ['variable1', 'variable2', 'dob'];for (var i = 0; i < variablesTo...

FaizDev101_0-1695630663662.png
FaizDev101 by Tera Expert
  • 694 Views
  • 6 replies
  • 0 helpfuls

How to add Approvers to Change Request

New to Change Requests. How do I see Approvers show up in the Approvers tab, after the State is changed to a particular value? Do I need to create a group, then add the approvers to that? Then, after the State is changed, these users will appear in t...

find_real_file.png
MStritt by Tera Guru
  • 13221 Views
  • 8 replies
  • 0 helpfuls

Call Script Include In UI action

Hello Experts,I have written below UI action script to delete records .but I am not able to call my script include.plesse guide me on this.Thank you.//UI action function cleanup() { var c = confirm("Are you sure?"); g_form.addInfoMessage(c); ...

Mark Wood by Tera Contributor
  • 709 Views
  • 4 replies
  • 0 helpfuls

Application Portfolio Management - Data

Our organisation is looking at implementing application portfolio management. We have it installed in a temp environment to test out. This is a broad question but - what I would like to know is what are the various data points are that give the usefu...

anfield by Tera Guru
  • 1266 Views
  • 1 replies
  • 1 helpfuls