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 is not renaming corrupt files to “.err”

SA-952

Summary



File listener is not renaming corrupt files to “.err” in case it is not able to process the files.
The file lies forever in the Work_{listenername} folder and is not moved to “Completed” folder.

Error Messages



NONE


Steps to Reproduce



-> Create a file Listener which can process .DAT files.
-> Enable Attemp recovery and max recovery attempts to 3, FileOperation is rename and File Extenson is err.
-> Take a pdf file rename is with .DAT extension and place it in the file listener folder. 

Root Cause



This has been mentioned in the Developer help.
 
Error Recovery  
Attempt recovery?

When selected, the system leaves the files containing errors in the Work folder for recovery purposes.

CautionIf this box is selected, the File Listener processing may create many instances of the Log-Service-File class, to aid in debugging. This can affect overall system performance.

Max Recovery Attempts

Enter 0 or a positive integer for maximum number of times the system attempts recovery.


As per the above description, the files containing errors will be placed in the work folder for recovery purpose.

Resolution



This is an expected behaviour in PRPC.

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

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.

Did you find this content helpful?

Want to help us improve this content?

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