|
Home > Archive > BizTalk Server Tools > February 2004 > Conditional or Logical Mapping Question
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 |
Conditional or Logical Mapping Question
|
|
|
| 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 2004-02-08, 8:43 am |
| 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
| |
|
| 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[color=blue]
the[color=blue]
>
>--
>Jan Eliasen, representing himself and not the company he
works for.
> MCP in Microsoft BizTalk Server
>.
>
| |
|
| 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[color=blue]
>the
>works for.
>.
>
| |
| Jan Eliasen 2004-02-08, 8:43 am |
| 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.
[color=blue]
>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
| |
|
| 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[color=blue]
as[color=blue]
=[color=blue]
functoids[color=blue]
the[color=blue]
to[color=blue]
then[color=blue]
he[color=blue]
>
>--
>Jan Eliasen, representing himself and not the company he
works for.
> MCP in Microsoft BizTalk Server
>.
>
| |
| Jan Eliasen 2004-02-08, 8:43 am |
| 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.
[color=blue]
>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
|
|
|
|
|