When I try to parse the XML to get the child nodes (<enumValue>) that actually contain the values I need, I face the issue that it doesn't recognize the hyphen in the parent node. The error message tells me that "collection" isn't defined (it cuts the string at the hyphen).
04.08.2017 13:15:48 js JST-310000 Fehler bei der Auswertung des Scripts 'rosImportProducts/js' Zeile 40: collection is not defined.
This is what I try:
for(var ean in availProductsRes.enumValue-collection)
(the toString being automately done by the logInfo method)
but what about the @label missing?
Sorry if I misunderstand something of your queryDef result set.
Regarding the enumerations, sorry I mislead you, I thought you were talking of sys enum in schemas. If it comes from DB list xtk:enum and not from schema, so you can do either using the queryDef or if it is in a workfklow, you can even use a standard query activity withtarget and filtering mapping schemas xtk:enumValue. So you can manipulate the context result (usually something as temp:query but you can give other name) as usual.