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

Forum Posts

Database View - Where Clause

Does anyone know the script to filter on records created 90 days or 3 months ago within the Where Clause of a Table within a Database View? Below is the javascript command I have applied but this does not work. Note 'sa_timestamp' is the field that d...

Mark36 by Kilo Explorer
  • 3877 Views
  • 7 replies
  • 0 helpfuls

Resolved! Help with 'Summary of Requested Item' Script in RITM workflow

Background: We are using the script below to add a summary of the requested item in our catalog items to the work notes of the the sc_task. This was previously only used in catalog items with 1:1 relationships for Request -> Requested Item -> Service...

Kevin Ng by Tera Expert
  • 2113 Views
  • 4 replies
  • 2 helpfuls

Resolved! List Collector Choices, when to use them?

Hello Everyone, I am not sure which one to use about the following: My team has a Record Producer for customers to submit tickets. I was tasked to add a Region in the form. So, the other fields for example: Sports The Table is INCIDENT, the Column is...

AngelP83 by Giga Guru
  • 1672 Views
  • 5 replies
  • 0 helpfuls

Redirect approval to users manager if user goes inactive

Hi All,  I am writing a Business rule (after/update) if any user goes inactive then it script will assign approval records to users manager. (function executeRule(current, previous /*null when async*/) { var gr=new GlideRecord('sysapproval_approver'...

Ayush1 by Kilo Contributor
  • 1819 Views
  • 1 replies
  • 0 helpfuls

Resolved! How to dynamically size g:ui_input_field on a UI page?

I have a sample code snippet using a g:ui_input_field where the field size is set staticly with "size=75". Can this be set dynamically to adjust to the width of the UI page? <tr> <td colspan="2" > <j:set var="jvar_mandatory" value="false"/> ...

MattSN by Mega Sage
  • 1447 Views
  • 1 replies
  • 1 helpfuls

Reference Qualifier or Filter for Glide List Using UI macro

macro macro Hi All,  Using catalog variable 'Macro with label' I have created Glide List as per script:  <?xml version="1.0" encoding="utf-8" ?><j:jelly trim="true" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"> <j:set var="jva...

darshanr by Kilo Guru
  • 6109 Views
  • 10 replies
  • 1 helpfuls