Application Getting Hung When Integration System Not Available
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.
Steps to Reproduce
- Create a REST Connector.
- Add a Connector shape and configure it with a connector activity in the middle of the work flow between two assignments.
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
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.