<p>How can I call a BizTalk Orchestration dynamically knowing the Orchestration name? </p>

<p>The call Orchestration shapes need to know the name and parameters of Orchestrations at design time. I've tried using 'call' XLang keyword but it also required Orchestration name as Design Time like in expression shape, we can write as </p>

<pre><code>call BizTalkApplication1.Orchestration1(param1,param2);
</code></pre>

<p>I'm looking for some way to specify calling orchestration name, coming from the incoming message or from SSO config store.</p>

<p>EDIT: I'musing BizTalk 2006 R1 (ESB Guidance is for R2 and I didn't get how it could solve my problem) </p>

[{'answer_id': 72353, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': -1, 'selected': False, 'text': '<p>Look at ESB Guidance (www.codeplex.com/esb) This package provides the functionality you are looking for</p>\n'}, {'answer_id': 92367, 'author': 'tomasr', 'author_id': 10292, 'author_profile': 'https://Stackoverflow.com/users/10292', 'pm_score': 3, 'selected': True, 'text': '<p>The way I\'ve accomplished something similar in the past is by using direct binding ports in the orchestrations and letting the MsgBox do the dirty work for me. Basically, it goes something like this:</p>\n\n<ol>\n<li>Make the callable orchestrations use a direct-bound port attached to your activating receive shape.</li>\n<li>Set up a filter expression on your activating receive shape with a custom context-based property and set it equal to a value that uniquely identifies the orchestration (such as the orchestration name or whatever)</li>\n<li>In the calling orchestration, create the message you\'ll want to use to fire the new orchestration. In that message, set your custom context property to the value that matches the filter used in the specific orchestration you want to fire.</li>\n<li>Send the message through a direct-bound send port so that it gets sent to the MsgBox directly and the Pub/Sub mechanisms in BizTalk will take care of the rest.</li>\n</ol>\n\n<p>One thing to watch out in step 4: To have this work correctly, you will need to create a new Correlation Set type that includes your custom context property, and then make sure that the direct-bound send port "follows" the correlation set on the send. Otherwise, the custom property will only be written (and not promoted) to the msg context and the routing will fail.</p>\n\n<p>Hope this helps!</p>\n'}]
['https://Stackoverflow.com/questions/72240', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7722/']