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

pyStatus property not updated to the value 'error'



The dropdowns or Date fields in a ScreenFlow are validated. If these fields contain error messages, the pyStatus property (present in pyFlowData.pySteps page) is not updated to the value 'error'. The property is set to a 'success' or a 'current' value.
However, this works correctly for controls such as TextArea or TextInput.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a screen flow with two or more screens. Ensure to select the 'Allow Error' field on the screen flow's Start shape properties.
  2. Configure a TextArea, a dropdown, and a Date control on the first screen.
  3. Include Server-side Validations that are defined for each control.  
  4. Do not enter any value in the TextArea, Date, or Dropdown fields (such that validation fails on each field).
  5. Click the out-of-the-box Next button. On clicking Next, the flow moves to the second screen.
  6. Launch the Clipboard.
  7. Expand the pyFlowdata page. The pyFlowActionsInError page is present. This is because the Text-Area control encountered a Validation error.    
  8. Repeat Steps 2 to 4.
  9. Enter invalid data in the Text area field (such that the Validation for this field does not fail and the validation for the Date and dropdown fields fail).     
  10. Launch the Clipboard.
  11. Expand the pyFlowdata. The 'pyFlowActionsInError is not populated. This must be populated because the Date or Dropdown fields encountered Validation errors.      

Root Cause

In the generateTextArea Rule Utility Function (RUF), the pzGetActiveValue RUF is invoked. This invokes the researchPropertyReference function of the (engine side). The researchPropertyReference function sets the mMatchedInputProperty variable value to true. This variable is used in the functions that are invoked from the matchStreamsToInputProperties of the Based on this variable value, the streams with errors are returned. From the GenerateDatePicker and the pzGenerateDropdown RUFs, the pzGetActiveValue RUF is not invoked. Hence the mMatchedInputProperty variable is not set to true and the stream with the error is not returned for the DateTime control.


Apply HFix-56529.

Published October 17, 2019 - 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