Question
Intel
IN
Last activity: 26 Aug 2020 8:41 EDT
Facing issues performing operations on local variables in activity
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.
I am new to Pega. Appreciate any help on this.
Thanks,
Prakash