How to handle "On Error goto" statement in Biztalk.


hi all,
    need handle "on error goto" statement in biztalk.

    have schema like this,
    <shipdetails>
            <package>
                 <item>
                 <item>
             </package>
             <package>
                 <item>
                 <item>
             </package>
    </shipdetails>
    <shipdetails>
            <package>
                 <item>
                 <item>
             </package>
             <package>
                 <item>
                 <item>
             </package>
     </shipdetails>

    has lot of validation in each child nodes(package,item,etc). if first <shipdetails> fails in validation, need proceed second <shipdetails>. atpresent i am erroring log , terminating whole process. need proceed second <shipdetails> since has lot of validation don't know how skip loop. need place decision shape in places?

please throw ideas.

thanks    

vj,

one of shortcomings (imho) in biztalk errors when validating messages: first validation error raised rather of errors in message - see *all* of validation errors can fix them first time , not have re-submit message after each correction...

with regards problem, recommend debatching each shipdetails element own message using xmldisassembler, each message validated individually - if first , third occurrence failed validate, second (successful) message still delivered messagebox. if need ensure of messages sent out in order received, there several strategies to accomplish (see links below).

cheers, nick.


nick heppleston - independent uk biztalk consultant (http://www.modhul.com)

please mark answered if answers question.

looking fast , efficient way archive messages in biztalk? try atomic-scope's new biztalk message archiving pipeline component. download free 14-day trial!



BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'