Stopping the mapping process
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Tools > Stopping the mapping process




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Stopping the mapping process  
Arno


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:43 PM

I have set-up BTS 2002 to receive orders (attachments
from e-mails) and to transform the incoming file into a
another one (csv)adapted to our SOE system, using a map.
Everything works fine, the map is alright.
In my map, it looks up in a DB to convert incoming codes
into our codes and this works fine. If it cannot find a
code, it will still output the csv file with a blank.
Question:
Is-there a way that during the mapping process, if a code
cannot be found, it stops the mapping process and do not
output any csv file? Basically, if an order has got 100
lines and only one line ahs got a blank code, I want to
be able to reject the all order instead of processing the
99 others...

Thank you for your help.






[ Post a follow-up to this message ]



    Re: Stopping the mapping process  
Jan Eliasen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:43 PM

On Fri, 16 Jan 2004 06:41:44 -0800, "Arno"
<anonymous@discussions.microsoft.com> wrote:

You can use a preprocessor to look at the document before it is
returned to BizTalk. If there is a blank line, then return some sort
of errordocument that BizTalk will route to the sender. If the
dopcument does not contain blank lines, then just return the document
to BizTalk and let the mapper do its work.


>I have set-up BTS 2002 to receive orders (attachments
>from e-mails) and to transform the incoming file into a
>another one (csv)adapted to our SOE system, using a map.
>Everything works fine, the map is alright.
>In my map, it looks up in a DB to convert incoming codes
>into our codes and this works fine. If it cannot find a
>code, it will still output the csv file with a blank.
>Question:
>Is-there a way that during the mapping process, if a code
>cannot be found, it stops the mapping process and do not
>output any csv file? Basically, if an order has got 100
>lines and only one line ahs got a blank code, I want to
>be able to reject the all order instead of processing the
>99 others...
>
>Thank you for your help.

--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:33 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register