How to add dynamic variable at an exclusive gateway in Camunda

Is there a way to do something like ${execution.getVariable(“abc”) + execution.getVariable(“loopCounter”) == “test”} at an exclusive gateway as an expression , I tried this but I am getting error

My Variable name is dynamic as abc1,abc2 as I have used multinstance loop in that.