I an external service which is sending escaped xml as a string e.g. <tag&

I an external service which is sending escaped xml as a string e.g. &lt;tag&gt;myValue&lt;/tag&gt; (<tag>myValue</tag>)
We are then converting this using torecord which puts it into a CDT with no issues
This is working fine except in one circumstance when a < is passed in as part of the value. e.g. &lt;tag&gt;my &lt; Value&lt;/tag&gt; obviously this is now causing the xml to be misinformed. I cannot get the system sending the information to change the data being sent. All other special character are working fine with this single escaping but the < is causing the torecord to fail. I can't create rules to find each element as there are quite a lot and it would be very complicated is there any way of finding and replacing only those &lt; values within a tag? So we can deal with it within Appian before converting torecord.

OriginalPostID-214409

OriginalPostID-214409

  Discussion posts and replies are publicly visible