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

Forum Posts

Future Date Validation with current date

Hi Everyone!!!  I have a requirement related to Date Validation, Where I have a Date Field (end date) in user table and i need to check the end date is 14 days equal    current date  ( current date : 17/09/22 then end date  is  :31 /09/22)  in the us...

sushma9 by Tera Contributor
  • 2028 Views
  • 4 replies
  • 0 helpfuls

Background Script to update Multiple Records

Hi team, I want a background script to update the field (category) from the KB knowledge table based on the field (business criticality) from the Business application table. For example - If the Business criticality field value is platinum then the c...

cp10 by Tera Contributor
  • 606 Views
  • 1 replies
  • 0 helpfuls

Resolved! I need to truncate a single line text variable to 35 characters

I have created a Single Line Text variable called "Street".  It has a max_length=35. If I type (or paste) a value that is longer that 35 characters, it will truncate (as I expect) the string. I have a catalog client script that is setting the value b...

WarrenB by Tera Expert
  • 1434 Views
  • 4 replies
  • 1 helpfuls

Resolved! custom table tickets in My Requests

Hi All, we have a custom table which extends the task table and we want the tickets to be shown in My Requests in the portal. For this, I have created record in request_filter table and it is showing up in the My Requests. In our table we were using ...

sindhu43 by Tera Contributor
  • 1982 Views
  • 6 replies
  • 1 helpfuls

How to map field value from portal to backend table field

Hello Everyone, I am new to ServiceNow portal scripting. I have a requirement where I need to set region value to short_description field of "wu_appointment" table. As per above snippet, End user will select the region for the cancellation of an app...

find_real_file.png

Change Risk Management - how to update table?

Hi, I would like to apply Risk Assessment on my table - custom table extended from Change table. Unfortunately, I don't know how to choose a table, I have tried to create new record, copy existing one, change it on the list or use Assessment Designer...

find_real_file.png

Resolved! On hold reason was not showed while a agent hold a incident

Hi Team, Good day!,   We have noticed a issue today , That is when an agent hold a ticket in ServiceNow the on hold reason should be populate in work notes (As awaiting requester , Pending vendor ...etc) at the same time of holding the ticket. But it...

Alternative for eval() in servicenow.

Hi All, I need to replace the eval() with glide script evaluator and below is the Script Include used in a Report to pull the records. Script Include: function CRA_Use(js, arg) { var grq_ps = new GlideRecord('pa_scripts'); grq_ps.addQuery('name', js)...

kavitha_cr by Mega Guru
  • 4240 Views
  • 9 replies
  • 0 helpfuls