Question
Accenture
SG
Last activity: 23 Aug 2016 5:59 EDT
Parse XMl Error:Failed to open Rule-Parse-XML
Team,
Can anyone suggest why we are getting below error while executing in agent through Apply-Parse XML method
Failed to open Rule-Parse-XML with Class Nme and Parse Rule
Revalidated all the agent schedules and parse rules related Class and properties.
***Message was edited by: Lochan to add Category***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
CA
Perhaps the agent's authorization context (read access group) doesn't have access to the ruleset in which the Parse XML exists?
Accenture
SG
Actually the access group is fine and it is having all the access to Parse XML. Is there any chance of failing depending on the roles defined in the Agent Access group.
Pegasystems Inc.
IN
adding log statements might help
oLog.infoForced("------------------------------------------------------Debug Starts for pxRequestor page ----------------------------------------------------");
oLog.infoForced("Requestor Name pyUserIdentifier: " + myStepPage.getString(".pyUserIdentifier"));
oLog.infoForced("Requestor Name pxUserIdentifier: " + myStepPage.getString(".pxUserIdentifier"));
oLog.infoForced("Requestor Page: " + myStepPage.getXML());
oLog.infoForced("------------------------------------------------------Debug Ends for pxRequestor page ----------------------------------------------------");
BNZ
NZ
Hi,
since you are saying that there is no issue with Access Group, what is the the agent type (legacy/advanced).
Also please check below items
1. bypass auhentication is checked in agent rule.
2. The context of step page on which you are calling ParseXML rule.
if you have tried the above points, please post the exception that you are getting. Detailed exception stack trace will help to get an idea where it is going wrong.
Accenture
SG
There is prSysAdmin4 role present in the Agent Access group. Does it have any impact in executing Apply-Parse XML method in Production environment.
Accenture
SG
Any Clue on this
Cognizant
US
Hi Guys can any one help on the below error.
when am created property called Reject codes with page list mode with in the respected class and when am parsing the XML am getting the error as RejectCodes.RejectCode is not valid: reason list property Reject codes must have an index, could you please suggest me how to proceed
PEG
IN
PageList properties you should access with RejectCodes(index).RejectCode
Here index is integer.
RejectCodes(1).RejectCode is the correct syntax