Question
IBM
CN
Last activity: 7 Apr 2023 10:18 EDT
how to call a when rule defined in 1st level loop page in 2nd level loop
how to call a when rule defined in 1st level loop page in 2nd level loop?
assume a, b are both page list, in below, "Also use each page as source context" checked box are checked. A when rule IsXXX is defined in class of a.
For Each Page in a
1st level loop body, IsXXX can be called here normally by When command.
1st level loop body, pxGetStepPageReference() can be use to get current page of a.
For Each Page in b
2nd level loop body, IsXXX can NOT be called here by When command.
in 2nd level loop body, I can access properties in class a by get current page of a ,but can not use this to access when rule.