Conditional or Logical Mapping Question
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 > Conditional or Logical Mapping Question




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

    Conditional or Logical Mapping Question  
Jan


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


 
02-08-04 01:43 PM

I'm trying to figure out the best way to suppress a record
from being written to the XML output when a particular
condition exists. For instance, if field1 is x or y then
don't output the record to the XML file.

I'm a novice at this but have read and researched all the
places I can think of and have not found an answer or
guidance.

Thanks.





[ Post a follow-up to this message ]



    Re: Conditional or Logical Mapping Question  
Jan Eliasen


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


 
02-08-04 01:43 PM

On Tue, 27 Jan 2004 14:53:47 -0800, "Jan"
<anonymous@discussions.microsoft.com> wrote:

You just connect a functoid that has a boolean output to the record
that shouldn't exist. The functoid can be an "exists"-functoid,
"equals"-functoid or any other, depending on your condition.

>I'm trying to figure out the best way to suppress a record
>from being written to the XML output when a particular
>condition exists. For instance, if field1 is x or y then
>don't output the record to the XML file.
>
>I'm a novice at this but have read and researched all the
>places I can think of and have not found an answer or
>guidance.
>
>Thanks.

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





[ Post a follow-up to this message ]



    Re: Conditional or Logical Mapping Question  


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


 
02-08-04 01:43 PM

I ended up using a combination of two "not equal"
functoids and an "and" functoid to accomplish this because
I couldn't figure out how to represent the second
parameter as "blank" to be able to use just an "equals"
functoid. Any ideas? I tried using: "space" (used space
bar, not the word in quotes), '' (single quotes back to
back) and ' ' (single quotes with one space in between) as
the second parameter in an attempt to represent: field1 =
blank is TRUE, else FALSE. I like to use as few functoids
as possible and this would help immensely if you know the
answer. Thanks for the information so far.
Jan
>-----Original Message----
>On Tue, 27 Jan 2004 14:53:47 -0800, "Jan"
><anonymous@discussions.microsoft.com> wrote:
>
>You just connect a functoid that has a boolean output to
the record
>that shouldn't exist. The functoid can be an "exists"-
functoid,
>"equals"-functoid or any other, depending on your
condition.
> 
record 
the 
>
>--
>Jan Eliasen, representing himself and not the company he
works for.
>  MCP in Microsoft BizTalk Server
>.
>





[ Post a follow-up to this message ]



    Re: Conditional or Logical Mapping Question  


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


 
02-08-04 01:43 PM

Please disregard this additional request for info unless
you know of a better method than what I discovered. I
figured out that if I don't put anything for a value in
the constant that works as "blank". Thanks for your help!!
Jan
>-----Original Message-----
>I ended up using a combination of two "not equal"
>functoids and an "and" functoid to accomplish this
because
>I couldn't figure out how to represent the second
>parameter as "blank" to be able to use just an "equals"
>functoid. Any ideas? I tried using: "space" (used space
>bar, not the word in quotes), '' (single quotes back to
>back) and ' ' (single quotes with one space in between)
as
>the second parameter in an attempt to represent: field1 =
>blank is TRUE, else FALSE. I like to use as few functoids
>as possible and this would help immensely if you know the
>answer. Thanks for the information so far.
>Jan 
>the record 
>functoid, 
>condition. 
>record 
then 
>the 
>works for. 
>.
>





[ Post a follow-up to this message ]



    Re: Conditional or Logical Mapping Question  
Jan Eliasen


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


 
02-08-04 01:43 PM

On Wed, 28 Jan 2004 14:22:55 -0800,
<anonymous@discussions.microsoft.com> wrote:

If what you want to do is determine if there is something in a field,
then don't use the "euqals", but the "exists"-functoid.

>I ended up using a combination of two "not equal"
>functoids and an "and" functoid to accomplish this because
>I couldn't figure out how to represent the second
>parameter as "blank" to be able to use just an "equals"
>functoid. Any ideas? I tried using: "space" (used space
>bar, not the word in quotes), '' (single quotes back to
>back) and ' ' (single quotes with one space in between) as
>the second parameter in an attempt to represent: field1 =
>blank is TRUE, else FALSE. I like to use as few functoids
>as possible and this would help immensely if you know the
>answer. Thanks for the information so far.
>Jan 
>the record 
>functoid, 
>condition. 
>record 
>the 
>works for. 

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





[ Post a follow-up to this message ]



    Re: Conditional or Logical Mapping Question  
Jan


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


 
02-08-04 01:43 PM

I want to get a TRUE result if there is nothing in the
field and FALSE if there is something in the field.

>-----Original Message-----
>On Wed, 28 Jan 2004 14:22:55 -0800,
><anonymous@discussions.microsoft.com> wrote:
>
>If what you want to do is determine if there is something
in a field,
>then don't use the "euqals", but the "exists"-functoid.
> 
because 
as 
= 
functoids 
the 
to 
then 
he 
>
>--
>Jan Eliasen, representing himself and not the company he
works for.
>  MCP in Microsoft BizTalk Server
>.
>





[ Post a follow-up to this message ]



    Re: Conditional or Logical Mapping Question  
Jan Eliasen


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


 
02-08-04 01:43 PM

On Thu, 29 Jan 2004 08:29:52 -0800, "Jan"
<anonymous@discussions.microsoft.com> wrote:

In that case, I'd use a "exists"-functoid and connects its output to
an "equals"-functoid that has "false" as the second parameter. That
would give you the inverse-exists-functionality.


>I want to get a TRUE result if there is nothing in the
>field and FALSE if there is something in the field.
> 
>in a field, 
>because 
>as 
>= 
>functoids 
>the 
>to 
>then 
>he 
>works for. 

--
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 10:55 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