Calling Variables in Mapper?

Home Page Forums BizTalk 2004 – BizTalk 2010 Calling Variables in Mapper?

Viewing 1 reply thread
  • Author
    Posts
    • #14789

      You are trying to call an Orchestration variable in the mapper? If so, I don’t think you can do that. You can set message context properties though. Check out this sample: http://biztalkblogs.com/carlosmedina/archive/2006/03/23/355.aspx

      Or, you can do multi message mapping. (i.e. one message in and two messages out) You could construct a new message inside that map that holds these values. That’s probably the easiest.

      Hope this helps.

    • #14790

      I would use the multi-message mapping solution. (I think Stephen meant two messages in and one message out)
      While the message context functoid is a nice piece of code you are exposing yourself to a potential upgrade nightmare. A service pack or new relase of Biztalk could break this code.

      • #14791

        I am trying to call a variable within the mapper. Particularly, I have a database lookup functoid and want to set the lookup value to a variable that will get set prior to the message transformation. Any ideas?

        There may be another way of doing this and I’m open to options. Basically, I am passing a user’s email to the database lookup functoid, so I can lookup the user’s title, name, etc and pass it into the map. The problem is the email can be dynamically changed by a business rule.

        Thanks.

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