Regarding the value tab in the Activity
Hello ...
As we all know while writing an activity , we come across 2 tabs PARAMETERS AND VALUE (Whe expanding the Method of a step). I understand those values can be hard coded .But,what are the other ways to fetch those values ...like how are the value fetcehed like What is the Source actually. Can you please explain me with some nice example. Thanking you in advance.
Sidharth
Hello Sidharth,
Thank you for your query. What you see when a method step is expanded will depend on the activity method being called on the step. The parameters and values will be defined for the particular method. For the value you may reference parameters using the "param" keyword or local variables using "local". Both are defined on the Parameters tab of the activity. So for instance "param.Subject" or "local.UpdatedValue". This PDN article provides an introduction to activities: https://pdn.pega.com/java-and-activities/introduction-to-activities.
Regards,
Andrew Fontenelle
PDN and Pega Academy Support Team