MVEL

Mvel 2.2.0.19 run the expression logical.ifFunc(text.right(HBYWLB,1)=='B',-1,1) sometime error