Question

2
Replies
185
Views
Close popover
Prakash C (PrakashC7217)
Intel

Intel
IN
PrakashC7217 Member since 2017 12 posts
Intel
Posted: January 11, 2018
Last activity: August 26, 2020
Closed
Solved

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

Data Integration Java and Activities
Moderation Team has archived post