Thank you, it is working with return code 0 but was not working with return code 5.
Original Message:
Sent: Apr 16, 2024 11:33 AM
From: Arun Verma
Subject: Change the status of FTP job to success
I was able to reproduce it, and in this scenario the "output scan" is still able to update the job status to ended ok.
With output-filter (return code kept as 0):
------------------------------
Regards,
Arun Verma
Original Message:
Sent: Apr 16, 2024 10:53 AM
From: Himanshi Bhatia
Subject: Change the status of FTP job to success
Hi Arun,
Thanks for your response. It is not working since the return code of job is 0, even if I apply the filter and change it to >0, it will still remain in ended_not_ok state. This is the same reason why prep_process_report is not working.
Return code with filter:
Return code without filter:
Thanks
Original Message:
Sent: Apr 15, 2024 08:05 AM
From: Arun Verma
Subject: Change the status of FTP job to success
Hi Himanshi,
I'm not entirely sure about your specific use case. You could opt to overwrite the file if it already exists. Alternatively, if you wish to adjust the return code in the scenario where the file exists on the target, you could utilize the "output filter." Please refer to the screenshot:
------------------------------
Regards,
Arun Verma
Original Message:
Sent: Apr 12, 2024 12:17 PM
From: Himanshi Bhatia
Subject: Change the status of FTP job to success
Hi All,
We have a FTP job configured to cancel the transfer when file already exists at the destination. So, if 1 out of 5 files is already present then remaining 4 will be transferred but the job will be in aborted state.
I want to change the job to ended_ok state in this scenario. I have tried 'prep_process_report' in post process but it is not working.
Thanks