Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create an activity called ActivityB which has parameter of type boolean which has default value true
  2. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us