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

Forum Posts

Resolved! Passing sys id from BR to Script include

Hi Team, I have a clarification that am putting forth to our expert snow family. So, i have a Business rule and am calling a Script Include from BR. Will current.sys_id work on SI for further usage without even passing the current object to BR on the...

Inya by Tera Contributor
  • 1727 Views
  • 8 replies
  • 5 helpfuls

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
  • 601 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
  • 7750 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
  • 937 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
  • 394 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
  • 260 Views
  • 1 replies
  • 0 helpfuls