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

Application Getting Hung When Integration System Not Available

SA-61332

Summary



User is connected to the Vendor system using REST API. The connector rule configured in a flow rule is invoked using the Connect-REST method. When the other system does not work or does not accept a request, the application and session hang. The user must relogin with another session.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a REST Connector.
  2. Add a Connector shape and configure it with a connector activity in the middle of the work flow between two assignments.


Root Cause



Not Applicable


Resolution



Configure a error handler flow.

In Error handling,
Set Status value property to .pyStatusValue.
Set Status message property to .pyStatusMessage.
Set Error handler flow to ConnectionProblem.

Error handler flow is invoked when the Connector cannot connect to the external system.

For example, incorrect URL is provided or the Service is unavailable. When the Service is available and returns an incorrect response, the flow should not be invoked.

Error handler flow

Optional: Identify a flow rule to route work items that cannot continue in this flow because the connector rule is unable to connect to the external system. Work-.ConnectionProblem standard flow rule provides a default approach to exception handling.

For more information, refer to Handling connector exceptions.

Published September 12, 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