Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

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

Forum Posts

How to upload a JS file in ServiceNow?

Hi, We have a UI page that creates the front-end for one of our applications. The javascript part (built using Angular 7) is currently stored in a UI script and is included in the UI page by using <script> tag. So far so good. But now as the applicat...

bala_sn by Kilo Expert
  • 8889 Views
  • 5 replies
  • 0 helpfuls

Resolved! Filter Reference Field based on Another Variable.

Is there a way to do this? I have two fields; u_location (reference to cmn_location table) and u_supplies (reference to u_supply_list table). On the u_supply_list table, I have a checkbox variable u_omaha and when checked I know that supply is only a...

Resolved! Variable type UI Macro not visible in portal!!!

I have created a variable type Macro just to populate one hyperlink. Variable is visible in the instance view (Try it from the maintain items UI Action). But same variable is not visible in service portal. Any suggestions! Please find the screen shot...

Community Alums by Community Alums  
  • 3225 Views
  • 1 replies
  • 0 helpfuls

Resolved! Setting Display Field on List Collector in Service Portal

So I am creating a form where managers can request to have members removed from Groups.  So, when they select a Group, I want a List Collector populated with the members of that Group, so the List Collector is based on the Group Member table (sys_use...

jmiskey by Kilo Sage
  • 5384 Views
  • 6 replies
  • 4 helpfuls

Resolved! Regex for phone numbers.

I'm not too good with Regex.  Does anyone know how I could format it so that a phone number field will accept only numbers, parentheses, and minus signs?  Currently it's set up as /^\d+$/ and the field only accepts numbers.

Andrew122 by Mega Expert
  • 11399 Views
  • 5 replies
  • 4 helpfuls

Metrics and business rule

Hi, We have a requirement to calculate business duration and duration fields on SC task and RITM as the difference of total duration and on-hold duration (custom fields). We had created a metric for calculating the on-hold duration, and then used the...

anusarma by Kilo Expert
  • 2256 Views
  • 2 replies
  • 0 helpfuls

Does UI Policy override ACL?

I've a custom field on change_request form and have restricted it to be read only when state is greater than authorize. I've a write ACL to make is editable only for users with role CAB manager. When I login as CAB manager, the field is still read on...

Community Alums by Community Alums  
  • 3601 Views
  • 9 replies
  • 0 helpfuls