GetDictionaryItemData
This function gets specified parameter of the currently selected position, from given Defined Dictionary field.
Syntax
GetDictionaryItemData("fieldTitle","paramName");
Function arguments
- fieldTitle – (String) Name of the case field containing Defined Dictionary.
- paramName – (String) The name of the parameter that is to be retrieved for dictionary position. Allowed values: [ id | description | externalId | index | value | displayValue | displayDescription | category | categoryId | externalCategoryId ]
Return value
This function returns String.
Returns the value of specfied parameter from dictionary position choosen in specified case field.
Examples
Example 1:
This returns the external id (id imported from external table) of Defined Dictionary from current case’s 'DictionaryField1′ field.
fieldId = GetDictionaryItemData("DictionaryField1","externalId");