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

PEGA-0031 alert: Stream being overwritten

SA-60436

Summary



PEGA0031 alerts occur when a stream is overwritten without being sent to the browser.


Error Messages



Not Applicable


Steps to Reproduce

  1. In the flow action's pre-processing activity, add a Show-HTML step.
  2. Launch the User portal.
  3. Navigate to the screen where the flow action is invoked.
     

Root Cause



A software use or operation error.

At the user end, the custom activity used the Show-HTML step. Additionally, the out-of-the-box work- perform activity also had the Show-HTML step.
Removing Show-HTML step from custom activity does not log any Pega 0031 alert.



Resolution



Here’s the explanation for the reported behavior:

PEGA0031 alert is generated when multiple calls exist for Show-Stream and Show-HTML (where the output stream is sent to the client).

For more information, refer to: https://community.pega.com/sites/default/files/help_v61sp2/procomhelpmain.htm#howto/howto2/howtopega0031.htm

Perform either of the following local-changes:
  • Modify the custom activity to remove Show-HTML.
  • Configure the custom activity such that it is conditional and the Show-HTML step is not invoked.

Published September 8, 2018 - 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