Header type Collapsible on Dynamic Layout is not retracting on some environments
I have the following requirement: a section with 1 dynamic layouts and 4 buttons.
Below this one, I have 4 other dynamic layouts, each one with header type Collapsible based on a when condition. Each button is related with one of these 4 dynamic layouts. When I click on any button, their respecitive dynamic layout must expand, and the others must collapse after a refresh. I'm doing this defining property values using a data transform on each button. These properties are checked on when condition from dynamic layouts header.
I also have 3 environments: development (Pega Platform 8.7.2), test (Pega Platform 8.7.3) and preproduction (Pega Platform 8.7.3).
This logic is working fine on development environment, but is not working on test and preproduction. In those environments, the dynamic layout related to the button that was clicked is being expanded, but the other dynamic layouts are not being collapsed.
Same code is on all environments. No errors found on tracer, Pega log files or developer tools from Chrome. On tracer I can see same rules are being executed on all environments.
The only differente between the environments is Pega Platform version, but I didn't found any issue related to Pega Platform 8.7.3 and my issue.
Any ideas?
Thanks in advance
***Edited by Moderator Marije to add Capability tags***