Recovery from Error in Orchestration Loop

Home Page Forums BizTalk 2004 – BizTalk 2010 Recovery from Error in Orchestration Loop

Viewing 2 reply threads
  • Author
    Posts
    • #21543

      Hello,

      I have an orchestration that is looping through a number of documents and performing mapping operations on them. Occasionally, one of the documents fails to map and throws an exception.

      So let us say I have 10 documents, number 6 fails, I would like to have the 7 still process … indeed I would like to have 9/10 of them process.

      How can I do this?

       

      Dylan

    • #21555

      Hi Dylan,

      Add a scope around your map and create an exception block for the scope. In the exception block catch the exception (maybe log it in the event log?), then have the processing continue as normal.

    • #21558

      Refer to Recoverable Interchange (a new feature available as a part of BizTalk Server 2006 onwards).

      Alternatively, if you are looping in Orchestration, you might want to put a scope shape and handle the exception / compensation accordingly.

       

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.