Question
ANZ
IN
Last activity: 16 Oct 2018 12:03 EDT
Compare Pagelist With Other Pagelist in when rule, is there any OOTB RUF?
Hi..
How Can i Compare Pagelist With Other Pagelist in when rule?
We can compare in activity, DT etc., But is there any OOTB RUF ?
Regards GouriShanker K
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Swedbank AB
SE
Hello Gouri,
As per my understanding there isn't any such OOTB RUF.
However, lets wait for other community members to review this.
Sincerely,
Pawan
ANZ
IN
Still waiting for answer
Pegasystems Inc.
IN
Have you checked the below threads ?
https://collaborate.pega.com/question/do-we-have-any-api-compare-values-pagelist
https://collaborate.pega.com/discussion/compare-two-clipboard-pagelist
https://pdn.pega.com/community/pega-product-support/question/compare-2-page-list-properties
ANZ
IN
Hi, Verified the above links, nothing helps in my scenario.. My scenario is simple - i want to do this in a WHEN rule.
ANZ
IN
Hi, i have verified the above links, i want to do it in when rule. Above links are not so useful.
Pegasystems Inc.
IN
Would you like to compare each and every element of the pagelists or some specific property ?
For example., if you have customer page list which has customer data, and then employee page list which holds employee data, would you like to compare all the elements of customer pagelist with all the elements of employee page list ? Or you want to just compare one component like contact number or name etc?
Red Kite BPM
GB
Hello santanu
I have the same requirment i wanted to check each and every property of first page list with each and every property of the second page list like the scenario which you have told
if you have customer page list which has customer data, and then employee page list which holds employee data, would you like to compare all the elements of customer pagelist with all the elements of employee page list
Thankyou
ANZ
IN
After waiting so long i can only say there no OOTB available, you have to write your own RUF to handle this
Pegasystems Inc.
IN
Can you elaborate your exact requirement on what do you mean when you say compare two page lists?
ANZ
IN
Compare Pagelist With Other Pagelist in when rule, is there any OOTB RUF?
Red Kite BPM
GB
There are no OOTB RUF
The approach which i followed is in an Activity looped one steppage(steppage1.pxResults) list under the second steppage(steppage2.pxResults) list and added one more property-set step under that loop and added when (steppage1.pagelist(<CURRENT>)==steppage2.pagelist(<CURRENT>)) condition to this step and when true made property-set a boolean(steppage2.pxResults(<CURRENT>).pyNote) property as true
so if we want common values we can pick values where pyNote==ture else case we pick pyNote==false