Support Article
The parameter value of checkbox got changed by production deploy
SA-34169
Summary
There is an activity called ActivityB which has parameter of type boolean which has default value true. There is another Activity called ActivityA which calling ActivityB. User is saying though check box is unchecked in activity (Parameter of ActivityB) in ActivityA the true is passing to called activity ActivityB. In generated Java code of Activity A boolean parameter is havaing -1 value instead of true as it upgraded from 6.1SP2 to &.7.1.7
Error Messages
Not Applicable
Steps to Reproduce
- Create an activity called ActivityB which has parameter of type boolean which has default value true
- Create an activity called ActivityA which calling ActivityB,
Root Cause
The user has customized the OOTB checkbox control and modified the true condition like <pega:when test='$this-value=="true" '> checked="true" </pega:when> by removing checking the -1 condition
Resolution
Checking whether value is -1 or not along with true like <pega:when test='$this-value=="true" || '$this-value=="-1" '> checked="true" </pega:when>
Published March 11, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.