Hi all.
I have a requirement to set a dynamic host based on the content of my payload message. For example:
<n0:MT_PAYLOAD>
<Field1>xxxxxxxx</Field1>
</n0:MT_PAYLOAD>
If have "Field1" starting with "8xxx", I want my URL Pattern {host} to be "QAS", in case its "9xxx" I want the URL Pattern {host} to be "QAS-2".

I have already tried to use XPath expression, but no success. I'm transforming a message from XML (SAP ECC output) to JSON (legacy system) to get an information from there.
Thanks for your help.