simple 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 General > simple mapping question




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

    simple mapping question  
Michael Sander


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


 
07-26-05 10: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







[ Post a follow-up to this message ]



    RE: simple mapping question  
Stephen W. Thomas


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


 
07-26-05 10: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
>
>
>





[ Post a follow-up to this message ]



    Re: simple mapping question  
Michael Sander


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


 
07-27-05 07: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:
> 







[ Post a follow-up to this message ]



    Re: simple mapping question  
Yossi Dahan


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


 
07-27-05 07: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
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:31 AM.      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