Question
SINARMASMSIGLIFE
ID
Last activity: 10 Feb 2017 4:51 EST
Parameter In When Conditonal Rule
hi,
can i use parameter in when conditional rule ? i want to use in Data Transform.
thanks
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
asuransi sinarmas
ID
you need to set the param values in the data transform before refering the when rule,
this is how it looks like on data transform ( attachment )
Pegasystems Inc.
IN
Pegasystems Inc.
IN
Hello,
You can use parameters in when rule and in data transform rules. There is a Parameters tab provided for the same:
Screenshots:
Hope this helps.
Best Regards,
Mounika
SINARMASMSIGLIFE
ID
hi monika,
thanks for description,
but , can you give me sample passing parameter in Data transform ? in the picture, i see when - condition is blank.
Pegasystems Inc.
IN
Hello,
PFA sample created.
Best Regards,
Mounika
SINARMASMSIGLIFE
ID
hi monika
thanks for the document,
but i'm still confused , is that only call Id When-rule (testWhen) in DT? not passing param like testWhen[Param:.....] ?
thanks
Pegasystems Inc.
IN
I have referred the when rule in DT and I am adding parameters in the when rule itself. Do you mean to say you want to use the parameters from the DT as a when condition?
Best Regards,
Mounika
SINARMASMSIGLIFE
ID
hi monika,
ya, i think to be like that., so, i use param in DT to reference WHEN-RULE ( in when rule, I compare property in when rule with param from DT )
sorry for my english , hopely you understand What I mean :D
thanks
Pegasystems Inc.
IN
I think I understand your requirement.
You want to pass the parameter from data transform into when rule for comparission. Something like whenRuleName(param1,param2)
I have checked regarding this internally, and I dont think we can pass any parameters to the when rule in such manner.
However this seems to be a good requirement and can be treated as an enhancement as well.
Best Regards,
Mounika
Pegasystems Inc.
IN
Hi Gogo,
Yes,you can use the parameter in when conditional rule.
Set the parameters to be used in When rule in a Data Transform and then refer those parameters as Param.XXXX in the When rule.
Regards,
Sudhish OP
IKOR
AU
If you are using a When rule which requires parameters, you need to set the param values in the data transform before reffering the when rule.It acts like Parameter page is passeed to the when rule.
Mphasis Corporation
US
Yes you can use parameters in when condition rule. Use param.xxxx in set method step which is a child step to when rule.
SINARMASMSIGLIFE
ID
hi,
anyone can hellp me for this issue, i'm doesn't find the solution answer.
Accepted Solution
asuransi sinarmas
ID
you need to set the param values in the data transform before refering the when rule,
this is how it looks like on data transform ( attachment )
SINARMASMSIGLIFE
ID
hi febryl.
Can you give me an example in when condition rule(IsCancelApprove) to capture Param.Yourparam ( refers to the attachment )
:D
thanks