We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Query a table from a UI page

I would like to create a form that will allow users to enter some information (name) which will then be used to query a table and return the results.  Looking at the wiki/forum it appears that a UI Page is a good option for this (correct me if i'm wr...

Jon23 by Mega Sage
  • 4495 Views
  • 7 replies
  • 1 helpfuls

Resolved! Source Field Map Scripts

Hello Experts,I am using a Field map Source Script, the requirement is to set the impact field on incident table on the basis of incoming priority from the source table.Ex. if the priority from the source table is 1 then the impact on target incident...

find_real_file.png find_real_file.png

field accepting more characters than maximum length

Hi,I have a field on a form of type 'string' . I want to increase the character limit of the field from 40 to 300. I went to the dictionary of the field and gave 300 in the Max Length field of this variable's dictionary. After doing this, it is still...

amtg by Kilo Contributor
  • 2554 Views
  • 1 replies
  • 1 helpfuls

Does GlideRecord work in <script> tag in Jelly?

I am creating a UI Macro that get variable from catalog item form. The catalog client script call UI Macro during OnLoad to pass variable. UI macro is able to get group name from catalog form but now I am trying to figure out how to pass group name v...

find_real_file.png
bbf3562 by Kilo Guru
  • 2936 Views
  • 1 replies
  • 0 helpfuls

Resolved! Email Notification Script

Hello Community,         I'm doing some re-factoring on my email notifications and I've come across a scenario where I have 2 notifications on the same table(sc_task) for the same reason but with different recipients because the information is slight...

find_real_file.png
Ken83 by Mega Guru
  • 6867 Views
  • 11 replies
  • 1 helpfuls

newline / line break on a UI page

Hello everyone,it seems I have trouble with an simple task.. I want to extract the street field of a stockroom (or company) to display it on a UI page.I build a UI macro as I need the same structure on a few places, but I have the problem that the we...

conmic by Mega Guru
  • 8813 Views
  • 3 replies
  • 8 helpfuls

"Create User Survey" UI Action

HiWe like to create a UI Action on the Incident Form, which is displayed, when the Incident is resolved. This UI Action is called "Create User Survey". By clicking this UI Action we like to create a Assessment for this Incident.I already tried to use...

Fabian10 by Tera Guru
  • 7114 Views
  • 4 replies
  • 7 helpfuls

Resolved! Service Portal Widget: how to get sys_id ?

Hi guys,In my custom Customer table how can I get sys_id for each record?var gr = new GlideRecord("x_11111_notes_customers");gr.addActiveQuery();gr.orderByDesc('sys_updated_on');gr.query();data.customers = [];while(gr.next()){       var customer = {}...

stryker129 by Mega Guru
  • 8532 Views
  • 10 replies
  • 3 helpfuls

Resolved! Cloud Management Plugin for developer instance

Hello, I am looking for the cloud management plugin in my developer instance(dev32619- Istanbul) and I don't find any here https://dev32619.service-now.com/v_plugin_list.do ; I searched with key words such as "cloud", "azure", "microsoft", "amazon", ...

lightlighter by Kilo Contributor
  • 2819 Views
  • 4 replies
  • 3 helpfuls

Fetch SLA Duration Value Dynamically

Hi All,I have a duration field(u_sla) on Catalog Task form which will change dynamically depending on Catalog Item.I am trying to set Duration value on SLA defination depending on duration value of Task form.I have written a business rule on contract...