Reply To: TRXID determination in XML?

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf TRXID determination in XML? Reply To: TRXID determination in XML?

#58324
Barry Sheesley
Participant

    Here is what I did to determine the Trx id in XML:

    On the Inbound tab of the thread, make the “Trx id determination Format” Fixed Record Layout (frl).  Then click the Edit button and make the Offset parameter range large enough to encompass the data in the message that will allow you to determine the message type. This range is zero based so I set mine from 0 to 500.

    On the Route Messages tab, add a new route.  For the Name parameter, key a “wildcard” text string that will allow you to determine the Trx id.  For example, I was looking for the string in the XML so I entered .*.* as the Name parameter.  Note the period at the front of the string. I’m not sure why that is necessary but it did not work without it.  Make sure the Wild Card Route checkbox is checked.

    Finally, add a new route detail for your wild card route. This is handled just like any other route detail.  For mine, I used an Xlate.  My actual translation script uses the XML schema even though I defined it as FRL for the sake of routing.

    Just to give credit where it’s due, I did get help from Charlie Bursell and the Quovadx support team in getting this to work.

    Hope this helps.