Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

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

Forum Posts

How should i add space in the mailscript

Hi , how to add the space in the following script line in the notification mail script : template.print(' The request to add/remove access for '+current.variables.requested_for.first_name+' has been processed.'); In the above script , i want to add t...

Naresh291 by Tera Contributor
  • 5830 Views
  • 20 replies
  • 5 helpfuls

toFixed() not working in client script

This script works as expect until I add toFixed() to shorten the decimal places to two.  Error in screenshot below. Can someone offer me an alternative?   function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (isLoading || newVal...

find_real_file.png
johannaS by Tera Expert
  • 1867 Views
  • 1 replies
  • 0 helpfuls

Resolved! How to use user_id in user criteria

I have a user criteria, which is working fine but when validating using "User Criteria Diagnostics tool " its failing , after some reasearch came to know that we need to use user_if as part of the KB0750243   Below is my user criteria, how do I  make...

RudhraKAM by Tera Guru
  • 3192 Views
  • 2 replies
  • 2 helpfuls

Resolved! How to run business rules?

Hello,I am trying to run the following business rule to update or insert a record into my table: u_lol_databasesI placed the following script in the u_lol_databases business rules.   I also used the condition onDisplay.. assuming the table will updat...

Capture.PNG
zsquared by Tera Contributor
  • 6808 Views
  • 6 replies
  • 1 helpfuls

Translating Question text on Yes/No variable.

Hello,  I have to translate the "Question" text for a few Yes/No variables to Portuguese on a catalog item.  For some of the questions I keep getting a message that they exceed 255 characters when I go to save my translation.  Is there a way to get a...

George56 by Tera Contributor
  • 1820 Views
  • 4 replies
  • 0 helpfuls

Multi-dimensional arrays and combining data between two arrays

Hello! I have a Flow Designer Flow where I get a JSON response from a third party application that is then needed to use for updating specific records in ServiceNow. Response looks something like this: { "columns": [ "ColumnTitle1", "ColumnTitle2", "...

SNNoob by Mega Guru
  • 3540 Views
  • 8 replies
  • 2 helpfuls

Customizing condition field

Hi I am trying to add a Conditions data type field to a custom table to create filter conditions.My criteria:1.It should have only a few selective columns for query creation. 2.Only AND clause should be used.   Can someone please help me to customize...

Shuvaday1 by Tera Contributor
  • 1518 Views
  • 4 replies
  • 1 helpfuls

Attachment variable - copy to RITM

Hello, I have an attachment variable on one of my items. I need attachment from this variable to be copied over to RITM header and I was able to achieve it by writing the Business Rule described in this thread: https://community.servicenow.com/commun...

Dawid2 by Giga Guru
  • 1782 Views
  • 1 replies
  • 0 helpfuls

Resolved! Syntax error - fd-data in send email

hi team,    i am trying below script in flow designer "send email" but showing some error like below please suggest to debug this what is the issue. Error: "fd_data" is not defined.,Detail: "fd_data" is not defined. Code: /* **Access Flow/Action dat...

find_real_file.png
Deepthi25 by Giga Expert
  • 2668 Views
  • 6 replies
  • 0 helpfuls