Forum Discussion

semakv's avatar
semakv
New Contributor
12 years ago

Subquery a property transfer?

Hi,

I get the following as a response.

<Description>Application has been created. Application Serno: 2324456, Customer Number: 1111111127, Account Number: 110001230, Card Number: 0000015</Description>


I have made a property transfer but I get the whole string transferred to the next request, I just want to extract the value of the "Account Number" to the next request, is it possible to make a sub-query of the property transfer? Or what would be the right technique here?

2 Replies

  • semakv's avatar
    semakv
    New Contributor
    Sorry to be such a Newbie, but could this be solved by a groovy-script? Could anyone please point towards the right direction here.
  • semakv's avatar
    semakv
    New Contributor
    BUMP....

    My Property Transfer Source looks like this:
    declare namespace prim='http://WebServices/Services';
    //prim:NewApplicationResponse/prim:NewApplicationResult/prim:Result/prim:Description


    And the Property Transfer Target looks like this:
    declare namespace prim='http://WebServices/Services';
    //prim:EntityNumber


    So it moves the whole:
     <Description>Application has been created. Application Serno: 2324456, Customer Number: 1111111127, Account Number: 110001230, Card Number: 0000015</Description> 


    But I only need the Account Number i.e. 110001230 sent to the next SOAP request.

    How could I achieve that? Add something to the already existing PropertyTransfer or add some other step in between the Request1, PropTra and Request2?