Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

Using results from the Remedy Generic Retrieve handler

The "Remedy Generic Retrieve" handler is a great handler to retrieve values form a record in any Remedy form.  Due to its generic nature it is more difficult to use the values returned from this handler.

Usage

After retrieving results using "Remedy Generic Retrieve" an echo node and some addional Ruby code can be used to pull out an specific Remedy field value from the results. The example below shows how the value from "Character Field8" can be extracted from the "Retrieve ID Approvers" Task Tree node.

Example

The following is example code from an "Echo" node which follows a "Remedy Generic Retrieve" handler node labled "Retrieve ID Approvers".  "Character Field8" is the Remedy field name.

<%=
doc = REXML::Document.new(@results['Retrieve ID Approvers']['field_list'])
REXML::XPath.first(doc, "//field_list/field[@id='Character Field8']").text
%>