Support Article
OnChange or Post Value executed in incorrect context
SA-90060
Summary
Exception occurs in the Interaction portal on executing a post value action for an onChange event on a textbox in the service case.
Error Messages
Failed to find instance DMG-CS-Work-Interaction-Research.EmailBodyRTE of type Rule-HTML-Section.
Steps to Reproduce
- Launch an Interaction and create an Intent.
- Configure a text property with a post value action for an onChange event in the Intent screen.
- Perform a mouse click in the Interaction area after entering a text property. A blue screen error displays on the screen on performing a mouse click in the Interaction area.
Root Cause
User clicked outside the AJAX Container (AC) after entering text in the input in the AC. By the time the action execution started, the harness context was switched. To avoid this, the harness context must be stored in the event object using the pega.ctxmgr.getContextByTarget(target) API.
Resolution
Update to Pega Platform 8.2.4.
Published October 12, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.