Hello, you should always reset the var value first: ... $var(logkey) = NULL; $var(logkey) = "condition_" + $avp(user); ... -- best regards, Alexey https://alexeyka.zantsev.com/