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

Forum Posts

How to pass parameter in script include from business rule

I am calling my scriptinclude from a BR and i want to send some parameter in this script include from BR to script include and also how can i fetch these value in script includesample BR code:-var incNumber = current.number; var x=new Update_date(); ...

msmmithlesh by Tera Contributor
  • 8917 Views
  • 3 replies
  • 2 helpfuls

Resolved! Unable to change field type on an import set table

I'm not even sure if it is possible, but I am unable to change a field type from an integer to a string on an import set table. I know that on the source table it is already set to string but on the import set table it is defined as an integer and I ...

find_real_file.png
HP8 by Giga Guru
  • 1404 Views
  • 2 replies
  • 0 helpfuls

Urgent: Need help- UI Macro should run based on Roles.

Hello, @Ankur Bawiskar  I have created a UI Macro: to add new options to a field and it is working fine for me. But when i am impersonating to other user with ITIL role it is not working. If we add any value in Add Data field and click on Primary But...

find_real_file.png
Yogesh14 by Tera Contributor
  • 1402 Views
  • 7 replies
  • 0 helpfuls

Resolved! Workflow Condition Issue

I have an IF condition in my Access Request workflow that checks the Access Name Variable.  The condition is being met, but the workflow is not seeing it as met for some reason. (it recognizes the requested by field, but not the access name).  I have...

Cindy26 by Tera Expert
  • 2181 Views
  • 11 replies
  • 0 helpfuls

Resolved! String Replacement w/ Regular Expression?

I'm certain that I'm missing something, and equally certain that what I'm missing is small and silly.  In Javascript, you can call string.replace(stringA, stringB), which will replace every instance of stringA with stringB; that's how ServiceNow's st...

rushputin by Mega Expert
  • 7423 Views
  • 4 replies
  • 2 helpfuls

Resolved! SP Widget issue with ng-model on <input> tag

Have this snippet of code in my HTML Template: then a bit further down:   When someone types into the <input> field, the table rows show/hide perfectly, as expected. However, when you click the close button that calls the cancelGroupSearch() functi...

find_real_file.png find_real_file.png find_real_file.png
xiaix by Tera Guru
  • 1671 Views
  • 2 replies
  • 0 helpfuls

Split(",") return [ and ] in 1st and last element

I have a client script that gets array of tables and I need to parse them to get the 1st element [might required 1 and 2 elements] . When I use Split (','), it returns first and last element with [xxx  , yyy]. //Client Script function onSubmit() { ...

Kumar38 by Kilo Sage
  • 1573 Views
  • 2 replies
  • 0 helpfuls

Resolved! Adding a Group to a Ticket Watchlist

Is there a way to add a user group to the Now platform's watchlist? For example: If I wanted to add all members of the HR group to the watchlist, I could select from a list of groups to manage rather than each individual name. If this isn't available...

find_real_file.png
dmullinax by Mega Guru
  • 1990 Views
  • 3 replies
  • 1 helpfuls

How to save a QR Code to an image field via a script

Hi All, I have implemented the project from the ServiceNow share at the below link and am able to create a QR code that behaves as I need it to: https://developer.servicenow.com/app.do#!/share/contents/5194766_task_qr_code?v=1&t=PRODUCT_DETAILS Howev...

Community Alums by Community Alums  
  • 3172 Views
  • 9 replies
  • 2 helpfuls

Good Idea? Auto-Numbering Import Set Runs

The sys_import_set_run table has a number field. What's more, its display field is its Number field. Now, what's curious is that it has auto-numbering disabled, apparently causing both A) its number field to be unmaintainted/empty, and B) all referen...

find_real_file.png find_real_file.png
JosephW1 by Tera Guru
  • 1516 Views
  • 3 replies
  • 0 helpfuls