Hello Nidhi, As Ryan mentioned, the provided sample XML payload is invalid. If the source XML contains unescaped special characters like '@', '<', or '>', XSLT processing will fail. A Groovy script is a better option for handling invalid XML and gene...
Hello Nidhi,The error occurs because the email address in the AssignedTo field contains the '@' character, which is not valid in XML content outside of attributes.Assuming you will get this '@' only in the field - "AssignedTo" we can update the XSLT ...
Hi Nidhi, Below XSLT will achieve the result you want<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
...
Hello Sneha, Please update the code for Extract Variable Policy as below and you should be able to extract the variable values as required. <ExtractVariables async="false" continueOnError="false" enabled="true" xmlns='http://www.sap.com/apimgmt'>
...