Question

2
Replies
41
Views
Close popover
Haritha Mettu (HarithaM1300)
Amaeyaa

Amaeyaa
US
HarithaM1300 Member since 2020 10 posts
Amaeyaa
Posted: December 27, 2020
Last activity: February 9, 2021

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