- Create an Orchestration string variable (in this case testVAR)
- Add assignment shape with code below
- Change the send location output file name to %SourceFileName%
[sourcecode language=”csharp”]
outputMessage = outputMessage ;testVAR = xpath(outputMessage,"string(/*[local-name()=’SomeName1′ and namespace-uri()=’SomeSchema’]/*[local-name()=’SomeName2′ and namespace-uri()=”]/*[local-name()=’SomeName3′ and namespace-uri()=”]/text())");
outputMessage(FILE.ReceivedFileName) = testVAR + ".TXT";
[/sourcecode]