Support Article
Unable to specify file name format to include the time stamp
SA-56607
Summary
Unable to specify file name format to include the time stamp. Therefore, the file number counter is reset daily and generates the below error message.
Error Messages
com.pega.pegarules.pub.PRRuntimeException: FTP Connection failed
at com.pegarules.generated.activity.ra_action_pzftpservice_3ef5b2b6132c22f57712ce3fe4426665.step2_circum0(ra_action_pzftpservice_3ef5b2b6132c22f57712ce3fe4426665.java:281) ~[?:?]
at com.pegarules.generated.activity.ra_action_pzftpservice_3ef5b2b6132c22f57712ce3fe4426665.perform(ra_action_pzftpservice_3ef5b2b6132c22f57712ce3fe4426665.java:87) ~[?:?]
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3597) ~[prprivate.jar:?]
at com.pega.pegarules.integration.engine.internal.RuleExecutionUtils.runActivity(RuleExecutionUtils.java:378) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.RuleServiceFile.parseFileAtTime(RuleServiceFile.java:753) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.RuleServiceFile.process(RuleServiceFile.java:1753) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileActionImpl.execute(FileActionImpl.java:443) ~[printegrint.jar:?]
at com.pega.pegarules.storage.DirectoryPollingWatcher.run(DirectoryPollingWatcher.java:83) ~[prprivcommon.jar:?]
at com.pega.pegarules.integration.engine.internal.services.file.FileListener.run_(FileListener.java:468) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.servi
Steps to Reproduce
- Create a Business Intelligence Exchange Extract in Pega Cloud. Do not delete the file in SFTP and do not allow SFTP user to override data in SFTP.
- Re-run the extract the next day. The file upload fails.
Root Cause
Files are overridden in Pega Cloud if they are not processed the same day because the names are not qualified by date.
Resolution
Apply HFix-42831.
Published May 10, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.