Question

2
Replies
4237
Views
Close popover
Sean Salaz (SALAZONE)
PEGA
Senior System Architect, Pega Academy
Pega
US
SALAZONE Member since 2006 46 posts
PEGA
Posted: July 13, 2016
Last activity: July 14, 2016
Closed
Solved

param.PageListIndex

I would like to find out which pagelist I'm in using a When rule. For example, I have the following structure:
pyWorkPage.Action.ActionComponents(1)
pyWorkPage.Action.ActionComponents(2)
pyWorkPage.Action.ActionComponents(3)
pyWorkPage.Action.ActionComponents(4)

I need to know if I am in index 1, 2, etc

If I am in index 1, I will display the data for item 1. If in 2, display the data for 2 and so on.
I am using a When rule in the visibility control for a dynamic layout to do this.
How do I use param.PageListIndex in this situation? I can't use pyWorkPage.Action.ActionComponents().PageListIndex = 1 in my When rule.
Is there a better way to do this?

Decision Management User Experience
Moderation Team has archived post