Question
Capgemini
IN
Last activity: 10 Nov 2016 8:23 EST
I'm using a when rule with params in Validate rule. How can I pass the parameter values?
How can I pass parameter to when rule from Validate rule? Please help.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi,
I think you need pass it on Dynamically. Means, in the activity, set the parameter and then call Obj-Validate
I will try to find out if there is any alternate way and keep you posted
Capgemini
IN
Hi,
Thanks for your reply.
But I'm using my validate rule in Flow action itself. This is to avoid using activities.
Pegasystems Inc.
IN
Hi Suchitra,
Let me do some more analysis and get back to you.
Pegasystems Inc.
IN
Hi Suchitra
Sorry for coming back late on it.
Unfortunately I cant find any way to pass parameter in the validate rule itself.
This might need an enhancement request so that our product management team can review this and decide further course of action.
Meanwhile an alternate option could be to use a post action activity and call the validation via that instead of putting it in the validate tab directly.
Thanks
Santanu
Murex
LB
hi, any update on this issue?
Thanks.
Wells Fargo
IN
Please refer to my comment in the below post.
https://community.pega.com/support/support-articles/cannot-pass-parameters-when-rule
In your case, put the UI element (link or button) in a section and pass the parameters of the when rule to the section. This hopefully will pass the parameter page to the when rule in validate rule.
Hope this works :) It worked for me for an icon with visible when condition put inside a section.
Pegasystems Inc.
IN
There is no direct way to pass a value to WHEN rule. But from Validate rule, you can set the value in "Input property" option in Input tab, and you can use that value on parameter page for driving your logic in WHEN condition. But, this way, you can only pass one parameter. Hope this helps or atleast provide more insights.