Question

3
Replies
3562
Views
Jeremy Becker (jpbecker)
Wells Fargo N.A.
Software Architect
Wells Fargo N.A.
US
jpbecker Member since 2005 31 posts
Wells Fargo N.A.
Posted: May 22, 2017
Last activity: June 8, 2017
Posted: 22 May 2017 18:36 EDT
Last activity: 8 Jun 2017 14:17 EDT
Closed
Solved

Right place to handle runtime connection error to Connect-REST when used in Data Page

I have a data page using a Connect-REST rule to get some info from an external system. I'm having a problem today with the service being down for maintenance and the data page causing an ugly error whenever I try to call it.

I tried adding a simple PostLoadProcessing step to the data page but it doesn't seem to handle the runtime exception I'm getting from the Connect-REST. My question is ... where is this type of error best handled and in what way? Ideally I'd like to capture the fact it happened, write soemthing to a property and alert the user. Right now, the unhandled exception causes the screen to freeze up and I can't get anyone to get out of it nicely.

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.