Discussion
HCL
IN
Last activity: 12 Aug 2017 20:10 EDT
Parameters Concept
Hi all
can anyone please explain the parameters concept? i mean how we pass the parameters in the activity or anywhere?
-
Likes (1)
ammar noeman -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Ai4Process
GB
Hi,
create a utility shape in a flow and use the utility CorrNew for instance, you will see that some parameters appears in the utility properties.
Open the CorrNew activity and go to the Parameter tab.
It should be self-explanatory
You can send parameters to Report definition, Data page, Section, ..... many rules
Damien
WorldbankGroup
IN
Hi Santosh,
Parameter is nothing but passing the dynamic value on Excecution.It improves the performance of the applications by passing the value dynamically and avoids hardcoding which is not a best practice.
Parameters can be passed in various rules in PEGA like Activity, Report Defincation and Sections, etc and we can pass parameter to the activity based on methods we work. Parameters of the calling activity can also be passed to called activity by checking "Pass Current Parameter Page" checkbox of Calling method.
-
DayaCTS Bongale Kesavan V Gilla Anudeep
Siemens
Hello Santosh,
you can increase rules re-usability by using parameters concept.
Accenture Solutions
IN
Hi Santosh,
If a rule is configured with the input Parameters, then the rule referencing the parameterized rule seeks the value for the input parameter while referencing. Parameter values can be accessed in the rule with the keyword "Param" like "Param.PropertyName". All the Parameters of any type mentioned in the Parameters tab resides in a page object ParameterPage. You can also add some properties dynamically in the rule by setting a value to the "Param.NewPropertyName" which also resides on the current rule ParameterPage.
For detailed concept please refer to the parameterizing concept in Application Design Chapter in CSSA 7.2 PDN Course.
-
Gaurav Londhe
Accenture Australia
AU
Hi Santhosh,
The above comments are correct. Basically the parameters are used to reuse the rules. Mostly during the execution time. For example in the data table we have two columns namely age,class. You want to return the values form the data table based on age and class at different places in the application. Generally we will create a two rules by giving the property directly which increase in rule count. When we use the parameter based on the value and property it will take at the run time.
Thanks
-
Saikrishna Kandukuri
Virtusa Consulting UK
GB
If you are familiar with any of the programming languages, then let me put it this way.
The different variables that are passed to the function are called parameters. now, like mentioned in the comments above, there are multiple rule types in Pega to which parameters can be passed and received.
MUFG Bank
SG
Hi Santosh,
You can pass the parameter in activity rules in two ways:
> by checking "Pass Current Parameter Page" checkbox of Calling method. This is will all the parameters values defined during execution.
> by setting in and out parameters in an activity rule to pass selective parameters at run time.