Question
IBM
CN
Last activity: 15 Feb 2023 1:57 EST
when condition under a table line click event does not work normally
when condition under a table line click event does not work normally
Let's refer to the scenario in one of my previous questions:
https://support.pega.com/question/how-access-parent-page
In the table control, I set a click event action on a field, in the action (default context is Data-A), I want to add when rule on some steps, e.g. Run Script, Local action.
The when condition use a property from Data-A, e.g. assume .xxxCount, to make a logic calculation, e.g. .xxxCount > 0. We expect .xxxCount is from the record in Data-A of the line where I click.
However, in testing, we found the when condition appear correct and incorrect sometimes. In clipboard we can see .xxxCount in the record of the clicked line is always in expected value (0 or >0), however the action steps controlled by it sometimes did / did not run per the logic out of our expected.
May I know what's the possible reason for this? Thanks.