rbv_api.getValueById()

Warning: Support for using this method with external objects (such as those mapped to external tables, to OpenEdge Service objects, or through a HDP connection) is a beta feature. This method is supported in production systems, except for external objects.

Purpose

Returns the value of a status or a picklist item with the given ID.

Syntax

rbv_api.getValueById(objName, fieldName, id)

Parameters

objName

Integration name for object

fieldName

Integration name of workflow status or picklist

id

ID of status or picklist item

Return value

Text value of item or null

Example

The following returns the value of an order type.

var itemValue = rbv_api.getValueById("order", "type", {!type#id});