IM task tab: dropdown field with external info

Document ID : KB000100076
Last Modified Date : 12/06/2018
Show Technical Document Details
What are the steps to create a dropdown field in a task tab where the content of the dropdown field is not statically defined in the field properties, but is pulled from some external source?
Using the JavaScript as the source of the LAH dropdown field,
filter the LAH return data through self-referencing getOptions() for them to be properly formatted as dropdown options:

function getOptions(FieldContext) {
return FieldContext.value;