Last activity: 9 Feb 2021 1:23 EST
Help needed File listener Throwing error reading xml file
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
<?xml version="1.0" encoding="UTF-8"?> <HrDataAgent> <Pg> <firstName>Haritha</firstName> <lastName>Mettu</lastName> <Position>Devloper</Position> <USAIndicator>true</USAIndicator> <TeamMemberId>333</TeamMemberId> <Manager>HM</Manager> </Pg> </HrDataAgent>