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

Forum Posts

Resolved! When user clicks on approve ui action they are getting redirected to a different page. But they should be re directed to the same page.

When user clicks on approve ui action they are getting redirected to a different page. But they should be re directed to the same page.Below is my code, but it's not working.current.approval = "approved";current.update();new UIActionUtils().approvals...

Resolved! Can we do styling of gs.addInfoMessage ?

I want to do some font size and style changes on the gs.addInfoMessage message .How can i do that ?gs.addInfoMessage("Fill the value");What to do to change the font color and background color of the message "fill the value"

Karun Pandey by Tera Contributor
  • 4709 Views
  • 1 replies
  • 0 helpfuls

Resolved! Date Validation

Hi guys, I have a requirement to validate "complete" date on the form. I have 2 fields - "Open" Date & "Complete" Date. How can I do validation by using OnChange to make sure "Complete" date is always after the "Open" date? Users should not be able t...

brown9394 by Tera Expert
  • 1556 Views
  • 5 replies
  • 3 helpfuls

Resolved! currency and number formatter

How do I format a currency field so that it displays 01000000 as $1,000,000.00my code to display currently is where cost is defined as a variableI've looked at the server side script API and do not seem to be able to locate anything.

snipping-tool-code-sample.PNG
een by Kilo Contributor
  • 6141 Views
  • 14 replies
  • 8 helpfuls

Resolved! Vendor Self Service Portal

Good Morning,   I've been digging through wiki but am unable to find info with much detail about my request.We have thousands of active vendors and they need Insurance coverage.   I've built out a "notification system" to let them know when their ins...

carlh by Kilo Guru
  • 3400 Views
  • 7 replies
  • 1 helpfuls

Scrolling Cart Script for a particular catalog item

Hi am trying this script for my catalog item that I got from the user community and I keep getting an error. Can someone take a look please?Here is the link where I got the code from: Scrolling Cart for Service Request - Oslova Networks Thank you,Kar...

find_real_file.png
Cupcake by Mega Guru
  • 2199 Views
  • 18 replies
  • 2 helpfuls

Local address contains control or whitespace

Hi experts,I've set up email notification for a specific record insert on incident table. Mails are shown in logs but not being delivered. I'm getting this error message while checking logs:"Local address contains control or whitespace". I cross-chec...

Resolved! how do we implement AND and OR operations in rest table api

HI all,I'm new to servicenow development. I need to access Incidents table in my developer instance via REST table apis. E.g I need those records having State=Closed or State=Awaiting Problem for a specific user (name: XYZ). But I'm not able to imple...

akshay317 by Kilo Contributor
  • 15616 Views
  • 5 replies
  • 4 helpfuls

Download attachment button on Catalog Item

Hi Everyone,I am working on a Catalog Item, I have a Reference Variable wherein I am referencing Applications table, in which all records have two attachments. My requirement is to add two buttons in the Catalog Item, like "Download Attachment 1" and...

Resolved! how to update ' sys_updated_by' through workflow

Hi there,Actually we have a catalog item in our instance for Employee termination. Once we submit the form by selecting an user to terminate we are deactivating that user in User table.We have done deactivation of the user in workflow Run scripts, th...

Ashok10 by Mega Expert
  • 1635 Views
  • 6 replies
  • 1 helpfuls

Resolved! what is the primary key of a table?

Hi there,I'm using Helsinki and I'm wondering what is the primary key in a table.It looks that most of the tables have a column 'sys_id', which seems like the primary key in that table. When I navigate to 'Tables and Columns', I see a big blue circle...

pk.PNG ts_word_roots.PNG
jerryt by Tera Contributor
  • 8400 Views
  • 11 replies
  • 2 helpfuls