BizTalk Server Tools - Stopping the mapping process

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > February 2004 > Stopping the mapping process





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Stopping the mapping process
Arno

2004-02-08, 8:43 am

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

2004-02-08, 8:43 am

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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com