Question

2
Replies
64
Views
Haritha Mettu (HarithaMPCSSA)
Amaeyaa

Amaeyaa
US
HarithaMPCSSA Member since 2020 10 posts
Amaeyaa
Posted: December 27, 2020
Last activity: February 9, 2021
Posted: 27 Dec 2020 0:57 EST
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>
***Edited by Moderator: Pooja Gadige to add platform capability tags***
Pega Platform 8.4 Data Integration System Administration