Supported list types
Number list
This function returns the numeric reference value of a given text.
If this textKey does not exist in the textList, the function returns the last value of the referenceNumberList, if the referenceNumberList has one value more than the textList, otherwise NULL
getMatchingValue(textKey, textList, referenceNumberList) #Output: Number
Variant with a numberKey and two number lists.
getMatchingValue(numberKey, numberList, referenceNumberList) #Output: Number
Text list
This function returns the text reference value of a given text.
If this textKey does not exist in the textList, the function returns the last value of the referenceTextList, if the referenceTextList has one value more than the textList, otherwise an empty text.
getMatchingValue(textKey, textList, referenceTextList) #Output: Text
Variant with a number list.
getMatchingValue(numberKey, numberList, referenceTextList) #Output: Text
Use cases and examples
Use case | JWT feature | Workflow function | Parser functions | Label |
---|---|---|---|---|
Create a sub-task for each component | toStringList() getMatchingValue() |