why param.pzPrimaryPageName does not exist sometimes

hello,

param.pzPrimaryPageName is useful that I can get page name of current context inside a data transform, especially it’s under a page list, like “pyWorkPage.Pagelist(2).TestDataList(3)”

Then I can get its parent page name from a substring before the last ‘.’:

pyWorkPage.Pagelist(2)

However, this param sometimes dose not exist at all.

May I know when will Pega provide param.pzPrimaryPageName?

Thanks.

@MaxonL16591286

  • The param.pzPrimaryPageName property is typically used in parameter pages, which are data structures used to pass information between activities, flows, or when launching a section.
  • If you are not using a parameter page structure or if the specific context does not involve passing data between rules, param.pzPrimaryPageName may not exist.