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

Forum Posts

scripts to check single line text against table

I have created Single line text in service catalog, and I have table 'trusted domain whitelisting".Details as per below Single line Text variable (u_domain_name)table name = u_trusted_domain_whitelistingTable Column 1 = u_active (True/False)Table Col...

TMKAM by Tera Contributor
  • 2214 Views
  • 17 replies
  • 0 helpfuls

Resolved! populating short description instead of item name

Hi, i have a requirement where if a catalog item has a variable called short description it should display this instead of the item name on the portal.i got it working partially , its only not displaying one 1 part: My other question is, the script i...

jeanpauldehaas_0-1707923584095.png

sys_script_client does not seem to be executing

Hello,  I have 3 client scripts (sys_script_client) with type as 'onLoad' for cmdb_ci-service_now table. Out of these 3, 1 is not getting executed intermittently meaning sometimes it executes but sometimes it does not. When I checked console (from De...

UI Policy with setValue not setting the correct value

I've got the following UI policy for a catalogue item that is used to update the value of a certain field when the conditions are met:  The script of the UI Policy is: However, what I'm finding is that if I go onto my catalogue item and trigger the U...

matthew_hughes_0-1707835977829.png matthew_hughes_1-1707836042535.png matthew_hughes_2-1707836126198.png

Resolved! Update resolution Notes on Incident form based on solution

Hi,There are 2 field on INC form, 1 solution, 2. Resolution Notes(Mandatory)I am confused how to configure below scenario, If solution is empty and Resolution Notes is updated, I want to set solution = Resolution Notes.If solution is not empty and Re...

Rutuja K by Giga Guru
  • 2311 Views
  • 8 replies
  • 1 helpfuls

Trying to add display text to a URL field type

Hi Community,  I have a script that is populating a HTML link into a field type of URL.   The script and link are working perfectly but since the full URL in the link column takes up a good portion of list view screen, I'm trying to figure out if it ...

jefff1 by Kilo Explorer
  • 15949 Views
  • 10 replies
  • 11 helpfuls

Script to trigger REST message

Requesting your help to trouble shoot my code.1. here is the json sample request body I got from the client{"entityType": "ASSET","update": [{"entityId": "123456","fields": {"item": [{"name": "Asset Status","value": "Received"},{"name": "Total Cost",...