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

Resolved! Event param - Can I send a list of users?

For our SLA warning/breach emails, they want us to send the notification to a sub-set of people within the assignment group and the assignee. I have identified the people who should receive the SLA emails by adding a flag to the sys_user_grmember tab...

Resolved! check box adding price

In the Service catalog you can add a "Price if checked" attribute and when the check box is displayed it will show the price like so:Extra harddrive [ will add $100.00 ] and when checked changes to: Extra harddrive [  has added $100.00 ]This function...

dak by Tera Expert
  • 1757 Views
  • 5 replies
  • 0 helpfuls

Best practice to check for booleans?

I picked up the habit of checking for <variable> == 'true', when checking for variables. Though this got me into trouble once, because someone entered the value 'True', resulting in a false negative. Should I check for <variable> == true instead? Or ...

Resolved! Scripted REST APIs

Hi,I have created a scripted REST API where I am fetching the HTTP headers by using the below functionrequest.getHeader('header name').But I want to fetch all the headers that we receive in the request. I tried to use request.headers as suggested in ...

Resolved! Using a UI action to fire a Notification.

There was another article i read "how to trigger an event from a UI Action button " thats pretty similar but im a bit confused with how you set this up. what code do i need to connect the event to the business rule? What code do i need to connect the...

austiin by Giga Contributor
  • 6763 Views
  • 6 replies
  • 10 helpfuls

Resolved! Storing the number after a GlideRecord Insert

Hello,So I am writing a Before Insert Business Rule on the Request_Item TableSo if a user updates the Customer Visible notes on the Request Item it creates a new Chat Queue Entry:Script:if(ourUser.hasRole('role_name')) {   var gr = new GlideRecord('c...

Ashley by Kilo Sage
  • 3148 Views
  • 2 replies
  • 1 helpfuls

Alternative to DOM

Hi All,Currently I have a functionality where the number of attachments are suffixed next to the Paper Clip icon in any task record. This is done using a DOM manipulation in a onLoad client script as shown below.var iconElement = document.getElementB...

Screen Shot 2017-02-02 at 5.20.48 PM.png

Auto refresh of Visual task board

Hi All,VTB auto refresh doesn't seems to be working as expected If you are in the visual task board created on "Assigned to " The first lane is "None (Assigned to is empty)" does not populate when a new ticket is assigned unless you select refresh.We...

sunny13 by Giga Expert
  • 3121 Views
  • 4 replies
  • 0 helpfuls

SSO is not working

Hi All,we are using multiprovide SSO and SAML2.0 to enable SSO. In one of our subproduction instance it is not working and showing the error email doesn't exist( for example if test.tes@example.com is email address then we are getting error message "...

Resolved! In scoped application development, How to convert String value to date object so that it is compared and manipulated, to add number of days on ui page script ..

In scoped application development, How to manipulate date field value to add number of days .Tried Using below code in Ui action, to add number of days to   start date   which is not working .   var temp_date=this.getParameter('start_date');   var s_...

mamataj by Kilo Contributor
  • 1739 Views
  • 5 replies
  • 2 helpfuls

Rolling Back a Custom Application

I've created a custom application, and I'm publishing this application to "My Instances". So, when I publish a new update I have the option to install the new update on my other instances. That brings up a question. How do I rollback to the older ver...

huntj06 by Tera Guru
  • 1992 Views
  • 11 replies
  • 0 helpfuls

Resolved! Record producer variable vs REST API using get method

bawiskarbryanbarnardHello,I have record producer and contain a variable Carton Number.When the user enters the Carton number in Record producer, the code   would need to take the carton number, plug it into this URL and process the json response and ...

find_real_file.png
salu by Mega Guru
  • 2608 Views
  • 7 replies
  • 1 helpfuls