Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

File listener using same pyID for all files processed



File listener is not processing xml files correctly. It is same using pyid to create the diffrent work objects. We have multiple xml files in the landing zone and it is supposed to create one unique WO per xml file, but it is creating one WO for the first xml file, and then uses the same WO for all subsequent files.

Error Messages

Not able to create the new work object for each fie.

Steps to Reproduce

Place the files in landing zone

Root Cause

The root cause of this problem is a defect in customer application code/rules. 

The Rule-Service-File instance was specifing the primary page to use as pyWorkPage. It was also specifying to keep pages between processing. The primary activity for the Rule-Service-File was using the pyWorkPage and not cleaning it up after it was done running. The combination of service setting and logic in the primary activity were causing this issue.


This issue is resolved through the following local change:

Removed the "keep pages between processing setting" and also updated the primary activity to do a Page-Remove on pyWorkPage after processing was completed. 

Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us