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

Call Show-Harness not working from an Activity

SA-24067

Summary



Harness was not launched from an activity using activity method Show-Harness. The Show-Harness call worked fine in PRPC 6.

Error Messages



Not Applicable

Steps to Reproduce



1. Create a portal by giving the harness class and harness name.
2. Include a button in the harness.
3. Configure it as onClick run an activity.
4. Design call show-Harness in that activity.
5. Launch the portal, and click the button to check.

Root Cause



System will not be able to launch another harness through an activity (by calling show-Harness), which is configured onClick of a button. This is because, the place where it should be lauched cannot be specified.

Resolution



Use the launch harness action onClick of a button as shown below, and design the required activity.
 

Published June 4, 2016 - 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