Hello,
I have next XML and need to use only ExtnReference1 attribute.
<?xml version="1.0" encoding="UTF-8"?> <Order AllocationRuleID="" BuyerOrganizationCode="RIO_GLOBAL" CarrierServiceCode=" " Createts="2015-08-28T13:09:21+00:00" DocumentType="0005" EnterpriseCode="RIO_GLOBAL" OrderNo="PST_IB_2808_2_0182" OrderType=" " ReceivingNode="RGWHS02" SCAC="" ScacAndService="" SellerOrganizationCode="RIO_GLOBAL" ShipNode="" ShipToID=""> <Extn ExtnCustomerServiceType="CUSTRMA" ExtnDHLServiceType="REPL" ExtnEDIDocumentDate="20150828T210918Z" ExtnEDIDocumentIdentifier=" " ExtnFieldEngineerId=" " ExtnInstanceID="IRISO-98835-78184129-20150426231316131::PIP9014A84A14CF982208F00000105983A3:OUT-4384230-26-04-2015 23-13-14:144709193" ExtnIsSubstitutionAllowed=" " ExtnLegSequence="1" ExtnReference1="PST_IB_2808_2_0182" ExtnReference2="." ExtnReference3="IRISO" ExtnReference4="." ExtnReference5="33515447-78184129" ExtnReference6=" " ExtnRequestorId="rio_global_edi_requestor"
Measure and BT were created. When measure does not contain regexp for argument value, BT is splitted by this xml value (so measure and BT work).
tried to use several regexps, but everytimes BT stopped to work :(
.*ExtnReference1=\"([^\"]+)
.*ExtnReference1="(.?)"\s
validation in regexp dialog returns correct value. can anyone help?
Thank you very much.
Antonin
Answer by Roman S. ·
The correct transformation regex for the method argument measure would be ExtnReference1="([^"]*)
As discussed via email the root of the problem is that the default settings are to capture only the first 250 characters and the ExtnReference1 element is not in that substring.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET