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

Forum Posts

Regex expression validation is not working

Hi,  The regex validation in the below code is not working. could someone please help me on this .  var nonPrint = "123Test*input";gs.print('nonPrint1'+nonPrint);var regex =/^[0-9][0-9]*$/;var s = nonPrint.replace(regex, '_');gs.print('nonPrint2' + s...

snow57 by Tera Contributor
  • 557 Views
  • 5 replies
  • 0 helpfuls

Resolved! Adding catalog item variables into report?

Hi,  I need to add the below variable into the below table for a particular catalog item but it isn't available to dot walk to. Is there another way I can achieve this? Do I need to create a DB view and if so, what tables? sc_req_item:   Need this v...

find_real_file.png find_real_file.png
sndev1099 by Giga Expert
  • 13469 Views
  • 9 replies
  • 10 helpfuls

Work note validation and updation before setting in RITM

Hi All,Before updating the RITM work note I need to check if the work note contains "ZjQcmQRYFpfptBannerEnd" and if so i need to eliminate this and pass it to RITM work note section how this can be handled?Note: skip value logic is already working in...

jobin1 by Tera Expert
  • 747 Views
  • 2 replies
  • 0 helpfuls

Resolved! How to build a preview URL for a catalog item in Catalog Builder

We would like to build a flow action by ourselves to preview a catalog item within Catalog Builder just like how it was mentioned in the demonstration video on the documentation: https://docs.servicenow.com/bundle/rome-servicenow-platform/page/produc...

Alan So by Tera Contributor
  • 2188 Views
  • 9 replies
  • 6 helpfuls

Resolved! Report the average time of when records are created

Hey everyone, not sure if the forum is correct but I need help with reporting.Our company is still new to ServiceNow.In reports, I would love to create a report that shows us the average time the incidents/requests are created by the user.If the peak...

ehgebla by Giga Guru
  • 2760 Views
  • 3 replies
  • 1 helpfuls

I want to have the details in one section in email notification

Hi All , I have an existing functionality where I have two sections in my email notification as seen in the image below  now I want to edit the section and I want to have all the ten fields one above the other  I have this piece of code in my existin...

PoojaKhatri_0-1697543065983.png

wiki type article

I am trying to create a Wiki-type knowledge article. this is the very first time, I am created can someone help me how to create these Wiki-type articles? or any pointers where I can find this information.

PaulSylo by Tera Sage
  • 1571 Views
  • 3 replies
  • 0 helpfuls

Copy Change Request attributes

Hello, everyone,I'm doing the ITSM simulator. Can someone help me with this task? Can you give me the list of actions to complete the task? Thank you!   As a change requester, I want certain fields and related lists copied to the new change request w...

gianluca5 by Giga Contributor
  • 3772 Views
  • 8 replies
  • 25 helpfuls

Resolved! Comma Separated Values in Email Script

Hi Community, I have this email script which is pulling affected products in the notification. var gr = new GlideRecord("m2m_kb_ci");gr.addQuery("kb_knowledge", current.sys_id);gr.query();while (gr.next()) {template.print(gr.getDisplayValue('cmdb_ci'...

Resolved! Auto-populate the three paragraph in the HTML field type

Hello Expert, I have HTML field type, want to auto-populate the three paragraph in the HTML field type. When i tried to use default value to show the three paragraph ,it's shown all in one paragraph .How i can achieve this requirement ?   

Rajveer by Tera Expert
  • 516 Views
  • 1 replies
  • 0 helpfuls