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

Forum Posts

Resolved! how to check for a empty string

I am giving the input as numbers ...ex(11011748,11011749) I am trying to check for an empty string. but it returns empty , even if i enter a string.   -> (11011748,11011749) Code sample answer = (function () { if(current.variables.clabel === "")    /...

Raffi by Mega Expert
  • 6109 Views
  • 7 replies
  • 6 helpfuls

OnSubmit Catalog client script to update custom field value

Hello, I have a requirement to get the variable value & check in my custom table for matching record & then to update the state value to 'completed' in my custom table. I am using a OnSubmit catalog client script  but it is not updating my custom tab...

How to make the checkbox read - only using Client script

I have four checkboxes in my Form , whenever the user selects one checkbox the other three should become read - only once the selection is done . It applies to all the four checkboxes , I tried implementing it using UI Policy but as the UI Policies a...

find_real_file.png
Pooja Khatri by Tera Contributor
  • 2321 Views
  • 6 replies
  • 2 helpfuls

How to allow decimal values in integer field

In a Integer type field it should allow decimal values as well.I have followed below script but it is not accepting decimal values Client Script : onChange function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (isLoading || newVa...

Siri8 by Kilo Contributor
  • 4561 Views
  • 5 replies
  • 1 helpfuls

Resolved! Adding a Mandatory Close Notes to SCTASK

I just want to make sure this makes sense.. We have 1 Tier 2 who refuses to leave notes... super fun.  So when my Tier 1 team goes to check on a Catalog task and we see its been completed by this admin, we have no idea if he actually did what was ask...

Bulk update to knowledge articles

We are currently looking at renaming the assignment groups in our system, but the challenge we foresee is lot of them are referred within the content of the Knowledge article. Is there a safe and recommended approach to do them in bulk? V

Laxmikanth by Tera Expert
  • 1089 Views
  • 2 replies
  • 0 helpfuls

Resolved! Unable to convert sys_id into Names. Help!!!

Unable to convert sys_id into Names. Help!!! Current codes works and returns  When the line in orange is enabled. But the underlying function does run Scripts-Background.  function onChange(control, oldValue, newValue, isLoading) { var access = ...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Pankhil by Tera Expert
  • 2269 Views
  • 5 replies
  • 0 helpfuls

Accessing multiple catalog task in ATF

Hi, In a catalog item that i am testing in ATF the workflow is as such, that it generates multiple catalog tasks(around 15) for a single RITM, i am able to query the sc_task table for all these records, but now i need to access each record and close ...

Supritha3 by Tera Contributor
  • 1632 Views
  • 15 replies
  • 1 helpfuls