diff --git a/src/plugins/condition/criterion/TelemetryCriterion.js b/src/plugins/condition/criterion/TelemetryCriterion.js index c0c4cbb96f..03066a752c 100644 --- a/src/plugins/condition/criterion/TelemetryCriterion.js +++ b/src/plugins/condition/criterion/TelemetryCriterion.js @@ -211,7 +211,7 @@ export default class TelemetryCriterion extends EventEmitter { let inputValue; if (metadataObject) { if (metadataObject.enumerations && input.length) { - const enumeration = metadataObject.enumerations[input[0]]; + const enumeration = metadataObject.enumerations.find((item) => item.value.toString() === input[0].toString()); if (enumeration !== undefined && enumeration.string) { inputValue = [enumeration.string]; }