Support Article
CloseWork method is closing browser when launched from snapstart
SA-42100
Summary
In new harness, there are Discard/Cancel buttons which has the script ""pega.u.d.closeWork" configured.
While working on portal, it is closing corresponding workobject/thread. But if the portal is launched from mobilesnapstart url, it is closing the browser tab.
Error Messages
Not Applicable
Steps to Reproduce
- Configure the Discard/Cancel button as below:
Root Cause
The configuration is supported only when '!pxIsPortalSingleDocument || pzIsPegaMobileSDK'
This is used in the context which is not supported. And the visibility condition is relaxed which is not supported, i.e in a single document mode portal (snapstart URL)
Resolution
After placing the Visibility(When condition), it is working as designed.
Published August 9, 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.