Hi,
I have a such requirement;
There is a report definition under class Work-Case1 and has a subreport which is under Work-Case2 class. Those report matches with a common property. So let's say there is one row in the report definition and 2 columns. One is belongs to Case1's pyID and the other one belongs to Case2's pyID. When I click the row, Case1's instance gets opened. How can I change this behavior into dynamic ? I mean how to open Case2's instance when I click Case2's pyID row ? Is this possible ?

  • EngincanY
    Technically this is not possible. Below is the explanation on why it's not possible,

    When you use sub-report or joins, results from sub-report or joins will go under pxPages under each of your pxResults.

    When a report is written in any of the Work- class, Pega by default selects pzInsKey of Case 1 and sets it in each row. Section pzRRListBodyRK is used to build the grid dynamically and display the results. This section has a table layout which on click of a row performs an action Open Selected Item, which opens the work object using pzInsKey.

    Basically click event can't be handled on column specific since this dynamically built section. It will always be row specific. Hence we can't open two different work objects on click of different columns in same row.

    Let us know if this answers your question.

EngincanY
Technically this is not possible. Below is the explanation on why it's not possible,

When you use sub-report or joins, results from sub-report or joins will go under pxPages under each of your pxResults.

When a report is written in any of the Work- class, Pega by default selects pzInsKey of Case 1 and sets it in each row. Section pzRRListBodyRK is used to build the grid dynamically and display the results. This section has a table layout which on click of a row performs an action Open Selected Item, which opens the work object using pzInsKey.

Basically click event can't be handled on column specific since this dynamically built section. It will always be row specific. Hence we can't open two different work objects on click of different columns in same row.

Let us know if this answers your question.

Write a Reply...

-An Initiative Of OneStopPega- Love our work? Support Us🖤