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

Forum Posts

how to retains decimal field 2 places after record submits

I am stuck at a decimal field cosmetic where the 2 places need to present always, for example, if users enter 123.00, the .00 need to stay when the record is submitted.In ServiceNow, this is not a difficult thing to do if the field is set to Currency...

find_real_file.png find_real_file.png
georgechen by Kilo Guru
  • 9794 Views
  • 17 replies
  • 5 helpfuls

Resolved! Cart API - Variable Set Field not populated

I am trying to fill out a variable within a variable through Cart API, however, this doesn't seem to work. Variable Set: vset_fieldsVariable Set Field # (a multi-line field): vset_fields_test What could be the issue there? var cart = new Cart(); var ...

hanaphouse by Tera Guru
  • 2896 Views
  • 8 replies
  • 3 helpfuls

Resolved! Null value while parsing xml

Hi Community, I have developed an outbound integration in ServiceNow. For failed transactions, i have created a retry policy and a business rule to create an incident. However while parsing xml, it is giving null value. I want to parse the below para...

find_real_file.png find_real_file.png
dvelloriy by Kilo Sage
  • 5839 Views
  • 19 replies
  • 8 helpfuls

Resolved! How to trigger workflow from another workflow

Hi All, I want to trigger sub-workflow using script.   Example: I have Workflow A and Workflow B 1. Workflow A is currently running and there is one run script activity in the Workflow A 2. I want to trigger the Workflow B from the Workflow A run scr...

ramesh_r by Giga Sage
  • 2411 Views
  • 3 replies
  • 0 helpfuls

Triggering event from script include

Hi All,Can we trigger event from script include as follows:gs.eventQueue("sla.user.triggerEmail",);Actually I have written one function in script include which contains gs.eventQueue(); , this function is called to trigger the event which results in ...

Where role are stored?

Hi All, Can any one confirm because I have some doubt on the below: Role are stored in : sys_user_role (table) User's role are stored in :  sys_user_has_role (table)

Mail script to get Approval Comments

Hello Im trying to create a mail script that I can use on the approval of a knowledge article that will contain the comments added to the approval record but it doesn't seem to work. this is what I am trying to grab  This is my script: (function run...

find_real_file.png
dagarson by Tera Guru
  • 2550 Views
  • 4 replies
  • 0 helpfuls

Resolved! Why is the typeahead search widget not showing knowledge articles?

  When the user searches in the typeahead search widget, only service catalog options appear, and no knowledge articles.  If we press enter, and complete the search the knowledge articles DO appear on the search page. I'd like for them to also show o...

JM1 by Kilo Expert
  • 4642 Views
  • 7 replies
  • 2 helpfuls