BizTalk Server General - simple mapping question

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > July 2005 > simple 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 simple mapping question
Michael Sander

2005-07-26, 5:53 pm

Hi,
I got 2 value mapping functoids, only one of them will return a value.
If I map both on a single destination node, I'll receive a warning:
"The destination node "Comments" has mutiple inputs but none of its
ancestors is connected to a looping functoid."
but everything is working fine.
Does anyone have a good suggestion, how to get rid of the warning?

regards,
Michael


Stephen W. Thomas

2005-07-26, 5:53 pm

Hello.

You could replace the two value mapping functoids with a single scripting
functoid that only returned one value using inline c#.

It would take in 4 parms, two boolean that would have originally went to the
value mappings and then the two values to bring forward. Then, just use
simple if logic.

Actually, if it was “either or” you wound only need three parms. One
boolean and then the two values.

Hope this helps.

Stephen W. Thomas
http://www.biztalkgurus.com


"Michael Sander" wrote:

> Hi,
> I got 2 value mapping functoids, only one of them will return a value.
> If I map both on a single destination node, I'll receive a warning:
> "The destination node "Comments" has mutiple inputs but none of its
> ancestors is connected to a looping functoid."
> but everything is working fine.
> Does anyone have a good suggestion, how to get rid of the warning?
>
> regards,
> Michael
>
>
>

Michael Sander

2005-07-27, 2:48 am

Hi Stephen,
that helped, but actually I thought there must be a more convenient way to
do this. I got lots of small problems with the mapper, think I'm going to
use plain xslt to do the job.

Michael

"Stephen W. Thomas" <StephenWThomas@discussions.microsoft.com> schrieb im
Newsbeitrag news:B245DF5E-49AB-4E3A-B64B-0A60C3ACBF4E@microsoft.com...[vbcol=seagreen]
> Hello.
>
> You could replace the two value mapping functoids with a single scripting
> functoid that only returned one value using inline c#.
>
> It would take in 4 parms, two boolean that would have originally went to
> the
> value mappings and then the two values to bring forward. Then, just use
> simple if logic.
>
> Actually, if it was "either or" you wound only need three parms. One
> boolean and then the two values.
>
> Hope this helps.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
>
>
> "Michael Sander" wrote:
>


Yossi Dahan

2005-07-27, 2:48 am

A simple approach, assuming you know for sure that only one would have a
value is to concatenate them to a single string before linking to the target
node?

Yossi Dahan

"Michael Sander" <spam@h3c.de> wrote in message
news:uJD$BzekFHA.3336@tk2msftngp13.phx.gbl...
> Hi,
> I got 2 value mapping functoids, only one of them will return a value.
> If I map both on a single destination node, I'll receive a warning:
> "The destination node "Comments" has mutiple inputs but none of its
> ancestors is connected to a looping functoid."
> but everything is working fine.
> Does anyone have a good suggestion, how to get rid of the warning?
>
> regards,
> Michael
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com