Question

2
Replies
4159
Views
SALAZONE Member since 2006 46 posts
PEGA
Posted: 4 years ago
Last activity: 4 years 2 months ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn