check page group in a when rule

may I know how to check page group in a when rule?

hope to check each page in the page group to determine the output.

I can do same on page list by a few functions, like:

  • page list contain a page where…

  • page list does not contain a page where…

etc.

but seems they do not work on page group.

I do not want to list each page of the page group by specify their index one by one.

@MaxonL16591286Unfortunately, When rules do not provide a direct function to check all entries of a Page Group like they do for a Page List ​​​​​​. Where are you trying to use this when rule? You could perhaps use a Data Transform before the when rule initiates to iterate over each entry in the Page Group and then use that property in the when rule.

For Each Page in <PageGroup> 
   If (<Condition>)
      Set .FlagForCondition = true
      Exit Iteration

Then, in the When rule, simply check if .FlagForCondition = true

@bretw thanks.

I will use the when rule in field visibility so there’s no where to run a DT first.

So I have to list each page of the page group by specify their index one by one in the when rule.

Thanks.