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.

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

Forum Posts

Resolved! Restrict duplicate entries

Hi all,i have a requirement when a record is updated in sc_item_variables_task table (MRVS) it is creating duplicates here is the script they used after insert business rule (function executeRule(current, previous /*null when async*/) { var qList = [...

shaik17_0-1709879244269.png
shaik17 by Tera Contributor
  • 841 Views
  • 2 replies
  • 1 helpfuls

Resolved! Incident query business rule and ACL with GlideRecord

I have an ACL in ServiceNow with a Read operation that runs on the Problem table. The advanced condition of this ACL contains a script with a GlideRecord to the Incident table. However, there is one out-of-the-box (OOTB) query business rule called 'i...

Resolved! creating RITM using inbound action and cart api

 Hi  Trying to create RITM using inbound action and below cart APItarget table: sc_req_itemcreateRequest();function createRequest() {var cartId = GlideGuid.generate(null);var cart = new Cart(cartId);//give sys_id of catalog itemvar item = cart.addIte...

RahulRajaSami_3-1669135032798.png RahulRajaSami_2-1669134901383.png RahulRajaSami_1-1669134874407.png

Best practice to move data from one instance to the next in ServiceNow

I recall a community post where a member said that it is best practice to move data from Production to Test; then to Dev but to move code from Dev to Test, to Production. I can't seem to find that post now. Can someone provide best practice to move d...

PN2 by Kilo Expert
  • 8406 Views
  • 6 replies
  • 4 helpfuls

Resolved! How to add Variable set users in Notification.

Hello All, We got a requirement from customer like when RITM gets updated or any comments added in the RITM then an email notification will be send to User/Group Watchlist members. For that I created a Variable Set, in that i have created 2 variables...

sattar3 by Tera Contributor
  • 1287 Views
  • 9 replies
  • 1 helpfuls

Resolved! Trigger catalog client script based on field value in request table

I am new to using the request item table.  I have added a few variables to the request item form but I want to show/hide them based on a field value in the request item table.  I created a custom field on the request item table, if this value is true...

jaubert by Tera Guru
  • 618 Views
  • 5 replies
  • 0 helpfuls

Excel file IS DOWNLOADING AS BLANK FROM LIST VIEW

I have created a button generate excel ,on a list view of a particular table ,now i want to download all the records as excel  on clicking on (but i want only few fields i added in specific view ).I used 2 code for one it is getting downloaded but i ...

abhi56 by Tera Contributor
  • 360 Views
  • 1 replies
  • 0 helpfuls