error : " Caught throwable processing MQtestXML1.xml
com.pega.pegarules.pub.PRException: XML parse rule not valid for record at a time parsing."
Getting this err when I'm giving a sample xml file in folder path. Please see the screen shots and let me know where I need to change
I do not know what to give as "record terminator" for xml...tried with \n, \r\n, </>, and record length as 1. None of these taking that error. Parse rule looks good for me. please look at screen shots of parse xml and sample xml code. thank you
First try to read the entire xml in a string property and then parse the string via parse xml within the processing activity. If that is successful, then the parse xml rule is good and listener is also able to read the file. Now, you can try to include the xml in the service file.
Posted: 1 year ago
Updated: 1 year ago
Posted: 8 Feb 2021 18:19 EST Updated: 9 Feb 2021 1:23 EST
Haritha Mettu (HarithaMPCSSA)