<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Orchestration variable retriever functoid (and why you should not use it)</title>
	<atom:link href="http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/</link>
	<description>Randal van Splunteren&#039;s experiences with BizTalk Server and other MS technologies.</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:47:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: wos</title>
		<link>http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/#comment-2844</link>
		<dc:creator><![CDATA[wos]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 13:15:18 +0000</pubDate>
		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=342#comment-2844</guid>
		<description><![CDATA[Hello,

FYI: I changed the Functoid&#039;s ConnectionType and Category due to connect it to a scripting functoid.

this.Category = FunctoidCategory.String;
this.OutputConnectionType = ConnectionType.All;
AddInputConnectionType(ConnectionType.All);

Otherwise it doen&#039;t work (I&#039;m using BTS 2009).

Furthermore I experienced problems when trying to read an orchestration variable that is not used within an orchestration scope. 
When I assign a value to the variable in an expression shape on top level (no orchestration scope), the Functoid always returned null because in the Functoids RetrieveVariableFromField - method a NullObjectReference - Exception is thrown when trying to retrieve the value (fieldInfo.GetValue(xLangContext) is null).
Seems like the variables value is not persisted somehow. 

A dummy usage (e.g. writing the variables value to the event log) in a sub-scope solved the issue.

So long,

wos]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>FYI: I changed the Functoid&#8217;s ConnectionType and Category due to connect it to a scripting functoid.</p>
<p>this.Category = FunctoidCategory.String;<br />
this.OutputConnectionType = ConnectionType.All;<br />
AddInputConnectionType(ConnectionType.All);</p>
<p>Otherwise it doen&#8217;t work (I&#8217;m using BTS 2009).</p>
<p>Furthermore I experienced problems when trying to read an orchestration variable that is not used within an orchestration scope.<br />
When I assign a value to the variable in an expression shape on top level (no orchestration scope), the Functoid always returned null because in the Functoids RetrieveVariableFromField &#8211; method a NullObjectReference &#8211; Exception is thrown when trying to retrieve the value (fieldInfo.GetValue(xLangContext) is null).<br />
Seems like the variables value is not persisted somehow. </p>
<p>A dummy usage (e.g. writing the variables value to the event log) in a sub-scope solved the issue.</p>
<p>So long,</p>
<p>wos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/#comment-2699</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Thu, 10 Nov 2011 07:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=342#comment-2699</guid>
		<description><![CDATA[You can modify the source schema then use it in maps.]]></description>
		<content:encoded><![CDATA[<p>You can modify the source schema then use it in maps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/#comment-1526</link>
		<dc:creator><![CDATA[Peter]]></dc:creator>
		<pubDate>Fri, 18 Feb 2011 10:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=342#comment-1526</guid>
		<description><![CDATA[I re-compiler it and put it in Biztalk2009.
But, It is not work.
Is the functoid  not work in Biztalk2009?

Thanks your help.
Peter]]></description>
		<content:encoded><![CDATA[<p>I re-compiler it and put it in Biztalk2009.<br />
But, It is not work.<br />
Is the functoid  not work in Biztalk2009?</p>
<p>Thanks your help.<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/#comment-1525</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Fri, 18 Feb 2011 10:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=342#comment-1525</guid>
		<description><![CDATA[I re-compiler it and put it in Biztalk2009.
But, It is not work.
Is the functoid  not work in Biztalk2009?

Thanks your help.
Peter]]></description>
		<content:encoded><![CDATA[<p>I re-compiler it and put it in Biztalk2009.<br />
But, It is not work.<br />
Is the functoid  not work in Biztalk2009?</p>
<p>Thanks your help.<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Helder</title>
		<link>http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/#comment-303</link>
		<dc:creator><![CDATA[Helder]]></dc:creator>
		<pubDate>Fri, 08 Jan 2010 19:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=342#comment-303</guid>
		<description><![CDATA[Hi,

this is great! Thks, i need this to change a value in a several nodes, all with the same name in diferent records, and xpah is not the way...

Performance is not very important in my case.

Many thks ;)]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>this is great! Thks, i need this to change a value in a several nodes, all with the same name in diferent records, and xpah is not the way&#8230;</p>
<p>Performance is not very important in my case.</p>
<p>Many thks <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vineet</title>
		<link>http://biztalkmessages.vansplunteren.net/2009/04/05/orchestration-variable-retriever-functoid-and-why-you-should-not-use-it/#comment-79</link>
		<dc:creator><![CDATA[Vineet]]></dc:creator>
		<pubDate>Wed, 13 May 2009 00:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://biztalkmessages.wordpress.com/?p=342#comment-79</guid>
		<description><![CDATA[I think this is a great post. It atleast gives us an option between multiple message map or accessing orchestration variable.]]></description>
		<content:encoded><![CDATA[<p>I think this is a great post. It atleast gives us an option between multiple message map or accessing orchestration variable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

