This content has been marked as final. Show 2 replies
Have you put quotes around E1? Which sub routine are you running this from (i.e. Sub Calculate, Translate, Elimination)?
Yup, I did put quotes around E1 and have used it in Calculate routine.
I figured out the solution. It was because there was no else part of the IF and since it didnt knew what to do for other entities, it either did the same to all or nothing to all. After I used ELSEIF condition, the rule is working fine.