Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

Forum Posts

Creating multiple records using mulitple JSON from REST API?

Can we create multiple incidents in servicenow through one rest api call maybe using multiple json? The api we are using is :  POST /now/table/{tableName} If it is possible how can we implement that? Was it possible in any of the previous versions?

Anish16 by Kilo Explorer
  • 2484 Views
  • 2 replies
  • 0 helpfuls

Resolved! Unable to Close Ui action using g_modal

Hi, I have created a UI action 'Copy Attachments' which I have extended to the Agent Workspace. Since GlideWindow do not work in Agent Workspace hence I have use g_modal to open a popup. Issue is I am unable to close the popup upon submission . I hav...

Avik3 by Giga Contributor
  • 3590 Views
  • 2 replies
  • 1 helpfuls

Resolved! Can't set fields Unique

Hi Everyone, I Just can't set fields to Unique no matter what I do, I have the personalize_dictionary role, I created the field from scratch, I even indexed It as suggested in other thread but nothing works, fields are still getting duplicated even w...

find_real_file.png find_real_file.png
Tony M by Kilo Expert
  • 5319 Views
  • 10 replies
  • 6 helpfuls

Resolved! Background script to update the List field

Hi All, I am trying to update the Groups field on the 'user_criteria' table with a list of groups . Below is the Background script i created ,but this is only updatng one group, bit not the sysid';s mentioned in the array . Please correct if I am wro...

Mrman by Tera Guru
  • 2787 Views
  • 2 replies
  • 0 helpfuls

Resolved! Help with Business Rule to add +30 days to a date field

How can i update this Business Rule to add 30 days to it??? TIA I also have a script include ClientDateTimeUtils I just didn't know how to write it. (function executeRule(current, previous /*null when async*/) { current.retirement_date = current.wa...

Resolved! Business Rule Inserting 2 Records - Only want to Insert 1 Record

Hi all, I am writing an after insert/update business rule on a table (u_example) that is creating a record on another table (u_budget_key). This business rule is running only when my field, Budget Key is empty.   (function executeRule(current, previ...

find_real_file.png
Carter1 by Giga Guru
  • 4340 Views
  • 21 replies
  • 9 helpfuls

How to check if a form is save

Hello,  i have to check, inside a ui action, if a request has been saved.  i have tried the function g_form.modified but is not working  thanks  Ignacio 

Fetch value from a Glide List field

Hi All, I wanted to fetch the field value from a source table (type- Glide list) in an on load client script.based on that I have to perform certain operations in the target catalog item form. Source Field: ----------------   Probable Target Fields:...

find_real_file.png find_real_file.png
sam352120 by Kilo Guru
  • 5457 Views
  • 9 replies
  • 1 helpfuls