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

Forum Posts

UI Macro - How to get the value of a reference field in jelly?

Good day! In the incident form, I have UI macro beside the caller name. The UI macro serves as an identifier to show if the caller is a member of a specific group. When hovering the mouse over the icon, I need to show the group name. When populating ...

JLeong by Mega Sage
  • 2502 Views
  • 6 replies
  • 3 helpfuls

Resolved! JSON Parsing error in custom action script

Can anyone please tell me why I'm getting "Error: o,Detail: Unexpected token: o" this error for below code? here privilaged_user is a Array.Object  privilaged_user = [ { "privileged_user_account_name" : "s5gb78e7rgt5a95070e322fatg9619kl", "privileged...

DNS Lookup from ServiceNow

I have a script include where I am assigning a name to server before it gets to vRA for provisioning. I want to do a DNS lookup to see if a host with that name already exists or not. If not existing then only wants to move forward with provisioning a...

deesha by Tera Contributor
  • 1178 Views
  • 1 replies
  • 0 helpfuls

Many Many Relationship table in Related Links

Hello All, I have created a newCI-Location relationship table where there are two fields 1. Application Field (From Table "cmdb_ci")2. Location Field (From Table "cmn_location") I have also created a many to many to many relationship table between th...

anirban300 by Kilo Guru
  • 713 Views
  • 1 replies
  • 0 helpfuls

ACL on system table not allowing visibility on create

Due to business requirements, we are trying to extend security access on a system table.  To do this, we are creating a separate role that will be used for a limited number of people.  We require this role to have access to create, write, and read pe...

tahnalos by Kilo Sage
  • 1623 Views
  • 7 replies
  • 0 helpfuls

Setting a script to run on UI Page

I am working on a UI Page that has two input fields for Fiscal Year and Quarter. From those values, I need to run a script to create child records to a table for a data call. I don't know how to get the call to initiate after the user enters the valu...

Community Alums by Community Alums  
  • 838 Views
  • 2 replies
  • 0 helpfuls

switch case in servicenow script

What's the deal with Switch case logic in servicenow script? my switch logic was working fine client script but same switch case didn't work in script include. Below code worked fine with if-else but not with switch case -_- I did some search on comm...

Resolved! Restarting a flow based on specific field value change.

Hi,  With 'created or updated' trigger and run trigger as 'only if not currently running', once a flow is triggered and moves into 'wait for duration of time after' state (waiting for start date) , Now if record is updated e.g. start date is updated,...

jazz20 by Kilo Contributor
  • 3069 Views
  • 7 replies
  • 2 helpfuls