Skip to Content
avatar image
Former Member

Accessing container variable of BPM in Message Mapping function

Hi,

I have a scenario in BPM where i have a container variable that is used as a loop counter.I want to access that counter defined , every time when i go around the loop and perform certain actions based on that counter. so how can i access that variable in my message Mapping function.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 28, 2005 at 08:51 AM

    Hi Sudharshan,

    check these links, hope they give you the required information (i think there is some problem with SDN site, check these links after a while)

    how-to-use-container-variable-across-maps

    Container object in Message Mapping

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

    Regards

    Vishnu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 28, 2005 at 06:31 AM

    Instead of a simple variable use an abstract interface with a messagetype having a single node named counter. Run the loop on this variable (accessed by xpath) and use multimapping to access the value of the loop counter.

    I have not tried this method yet. Maybe you can just give a try and see whether it solves your problem.

    Best Regards,

    Kannan

    Add comment
    10|10000 characters needed characters exceeded