Dynmic values to pass in a txt file

HI ALl,

i have following code, where i am keeping the below code in a text file and reading text file for further flow, the value PP_00000 should be passed dynimaically and i tried to pass the whole snip in assign activity keeping in double qoutes but thats not working

<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:prov=“Choose your country and language | smart”>
soapenv:Header/
soapenv:Body
prov:DDLookupCriteria

PP_000000
</prov:DDLookupCriteria>
</soapenv:Body>
</soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:prov=“Choose your country and language | smart”>
soapenv:Header/
soapenv:Body
prov:DDLookupCriteria

+var+
</prov:DDLookupCriteria>
</soapenv:Body>
</soapenv:Envelope>

Check this:

Hi @devasaiprasad_K ,

you can try to assign this way
“<soapenv:Envelope xmlns:soapenv= “+Chr(34) +“http://schemas.xmlsoap.org/soap/envelope/”+Chr(34) +” xmlns:prov= “+Chr(34) +“Choose your country and language | smart”+Chr(34) +”>
soapenv:Header/
soapenv:Body
prov:DDLookupCriteria”+var+
“</prov:DDLookupCriteria>
</soapenv:Body>
</soapenv:Envelope>”

Thanks

@devasaiprasad_K

Except the first and last double quotes which you added you need to escape every other double quote using extra quote

" to ""

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.