Skip to Content
0
Former Member
Dec 14, 2005 at 09:21 AM

Async - Sync in BPM -> Multiple Retries

61 Views

I have an asyncronous interface from CRM which goes into BPM and makes a synchronous call into the destination application and expects a response. However if there is a connection failure from the HTTP adapter to the destination application, I want to try a further 10 times to try to get a connection at 2 minute intervals before failing the process and triggering an alert.

This part is working ok :

The first send fails and raise an exception (system exception) and the exception handler is invoked. In the exception handler branch I have set up a loop to try a resend at 2 minute intervals.

However when the first retry fails the process stops. I do not have a further exception handler branch for the retry block as I just wish to keep retrying at 2 minute intervals.

This leads me to believe that I need to have each retry in a block of its own and have an exception handler branch for each of the retries.

Can someone please confirm this is the case ?

This seems very inefficent to have to do it this way.

Does anyone have an alternative method to fufil this requirement of retrying a fixed number of times at a fixed interval ?

Note that I cannot use IS_RETRY_LIMIT in configuration as this is only for asynchronous processing. This is async - sync processing.

Thanks

Colin.