Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Access and assignment

Access and assignment

The Catalog Item Variables are available and assigned to a specific Catalog Task activity (thereby to a specific task) using the slushbucket entry of a catalog task.

The user working the task enters the values of the variables.

To access the values of a Catalog Item Variable inside a script:
var gr  = current ; // or create and query a new GlideRecord 
var itemVariable  = gr. variables [ variableName  ] ; //access the service catalog variable identified by the variable name. 
var itemValue  = itemVariable. getGlideObject ( ). getValue ( ) ; 
var itemQuestion  = itemVariable. getGlideObject ( ). getQuestion ( ). getLabel ( ) ;

Changes to site functionality will be made starting around 6am on January 21st (Pacific Time) and lasting approximately 6 hours.  The site may be intermittently unavailable.