I have a local variable ClassType defined in an activity. I wanted to use this Local.ClassType in one of the steps in the activity. I tried performing an equals() check in the When condition for the step; and the Test errors out.
Can someone help me on how to handle this? My plan was to use this ClassType variable to store the value initially. Whereever needed, i just use this variable to decide on whether to execute that step or not. Additionally, I wanted to retain the logic of deciding the ClassType in one place so that i can easily alter later if needed.
You can just use it, the Test part of the expression Builder is generating an Exception (I happens to me as well using PEGA 7.2.2), but if you run the activitiy with that expresion in place it works without issues.