Updating variable in Map

Home Page Forums BizTalk 2004 – BizTalk 2010 Updating variable in Map

Viewing 1 reply thread
  • Author
    Posts
    • #21967

      Hi,

      How can I update orchestration variable in Map and get the result value back in orchestration?

      OR

      Is it possible to update the Source schema value in the map? So I can access the value in orchestration? I can not do this in destination schema.

      Thank you in advance,

    • #21969

      Please tell us a little more of your purpose, and current implementation, it might get you a better answer.

      If you have the possibility to do the mapping in the receive port, then you can promote your field and set the orchestration variable in an expression shape, (or maybe assignment shape).

      If you need your value back in the “original” schema, why not first map to a “copy” of it, maybe with one extra field to get some value, and then continue to map to next format.

      Kind Regards
      Martin Bring

      • #21971

        Thank you for your quick reply Martin,

        Sorry for not clear post and let me tell you more info about my project.

        I have an orchestration, that will receive our company standerd xml invoice. I have to map that to each of our customers and send. Since each customers have different format, I have to use the map in send port so I use direct send port. Some customers said they wouldnt pay Surcharge, some say they wouldnt pay delivery charge and so on… So I need to subract that amount from orginal invoice before i send the EDI invoice to customers. our A/R wants to know about these details such as what was the invoice, how much i adjust and what is the reason in email.

        I dont like to do this changes in orchestration. I would like to do these changes in the map. So I want to store the changes in a string in MAP and pass back to orchestration and send email from there.

        Since I dont map in orchestration, I couldnt use another message to capture these changes. 

        Is there way to get the string value in orchestration from map?

        Thank you in advance,

        Siva

        • #22009

          Ok, now I have the whole picture. At a first glance it could be a work for BAM, but I try to take a deeper look and come back to you.

          Kind Regards
          Martin Bring

          • #22032

            Thank you Martin,

            It looks like it will be hard or too much work. I think It is better to handle in Orchestration under if statment. It is not a good desining but no choice.

             

            Siva

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