Skip to Content
avatar image
Former Member

Mapping 2-3 receivers based on type.

Hi experts

My source message is as below:

<?xml version="1.0" encoding="utf-8" ?>

http://mytest.com/dotcom/test">

<row>

<Type>D</Type>

<ACCT>111001</ACCT>

<AMT>1000</AMt>

</row>

<row>

<Type>D</Type>

<ACCT>111001</ACCT>

<AMT>5500</AMt>

</row>

<row>

<Type>C</Type>

<ACCT>111001</ACCT>

<AMT>100000</AMt>

</row>

<row>

<Type>D</Type>

<ACCT>1561001</ACCT>

<AMT>905</AMt>

</row>

<row>

<Type>C</Type>

<ACCT>1561001</ACCT>

<AMT>10</AMt>

</row>

</ns:testdata>

and the rest for other channel.

Pls advice on how to achieve this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 16, 2006 at 05:53 AM

    Hi Chaku,

    Its possible by splitting the message according debit and credit and route the message accordingly.

    or else u can use the BPM for this purpose.

    venu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 16, 2006 at 05:56 AM

    HI Chaku,

    I did following and it worked for me.

    You need 2 message mapping and 2 interface mapping.

    Map SOurce row to target row with following conditions

    Constant(C) equals(Text Functions) row-Type(Change context to testdata) --->if

    row----


    >then -


    >row.

    Use if then boolean function.

    Same way do the 2nd mapping for D.

    Put this in 2 different interface mapping and it should work.

    Thanks,

    Tuhin

    Add comment
    10|10000 characters needed characters exceeded