Using global variables in BT 2004

Home Page Forums BizTalk 2004 – BizTalk 2010 Using global variables in BT 2004

Viewing 1 reply thread
  • Author
    Posts
    • #12971

      I have a BT orchestration which calls another orchestration. Now the problem is the soap ports used in both these orchestrations are dynamic. I am using BRC to set URL paths to these ports. Is there a way I can set this for all the ports in different orchetsrations from a common place itself at the same time? Or do I have to use call rules shape in each orchestration to fetch the URL path from BRE.

      My first orchestration rcalls the second orch ina loop, therefore I dont want to execute call rules in every loop. I just one to assign the port URL once.

    • #12970

      Probably the best thing to do is create a .net class or helper BizTalk message that has all your value as nodes that can be set.

      Something like:
      <base>
      <url1>
      <url2>

      Then, you can set them all at once in a single BRE call. You would then just have to pass this helper message into all the other started or called Orchestrations.

      You could also use a simple .net class. That might be easier in your case. Just add Get and Sets on public properties. See this sample: https://www.biztalkgurus.com/Samples/BizTalk-Business-Rules-In-Code.html

      Hope this helps.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.