Skip to Content
avatar image
Former Member

How to use Container Variable across Maps

My Scenario is such that I am having one Receive Step and Several Send Steps.

I am storing the value of a particular element of the Incoming message in a Container Variable (Integer).

Subsequently, in the Interface / Message Maps of the Send steps, I want to make use of this Container Variable value to map to a Particluar Target Element.

The other solution that I can think of is having a Transformation operation before each Send Step and make use of the 'Receive Message' as part of the Source. However I would not want to use this method, as unneccessarily, I will have several Transformation steps for only one element.

Can anyone suggest a better solution? Whether I can access this Container Variable Value here?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 28, 2005 at 12:41 PM

    Please note that between the Receive and Send Steps that I have mentioned in my Post, there are other Send steps where the received message gets altered.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 28, 2005 at 01:37 PM

    Hi,

    <b>A message can be transformed only in a message transformation step.</b> It becomes mandatory for you to use a transformation step.

    U can have the advantage that you can directly get the container element in your message mapping and assign it to the target element.

    U can refer to this conversation

    Copy value of container (abstract interface) to an other container

    Hope this helps you.

    Cheers,

    Siva Maranani.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Siva.

      What I wanted to ask was whether I can access a Container Element outside of BPM Message Mapping, i.e within a Interface Mapping and not within a Transformation Step.

      R Chandrasekhar

  • avatar image
    Former Member
    May 28, 2005 at 02:10 PM

    Hi,

    Where do you like to use this container element..?

    A transformation step ( in a BPM) is a abstraction of message/interface mappings... So u can use a container variable directly inside your message mappings to map container variable to data element.

    U can look at the thread : "Container object in Message Mapping" to know how to access the container variable inside your message mapping.

    Container object in Message Mapping

    Cheers,

    Siva Maranani.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 19, 2009 at 09:40 AM

    Hi Chandrashekhar,

    Maybe this link will help you get your answer...

    container-object-in-message-mapping

    Glad to be able to help.:)

    Regards,

    Kshitij

    Add comment
    10|10000 characters needed characters exceeded