I know this is an old post but I came up with a solution for this with the following code:
answer = (function transformEntry(source) {
var tab = new GlideRecord('sys_choice'); tab.addEncodedQuery('elementSTARTSWITHsys_class_name^labelLIKE' + sourc...