Skip to Content
0
Dec 29, 2022 at 11:18 AM

How can I always trigger the Post-Processing of SFTP adapter?

201 Views Last edit Dec 29, 2022 at 02:04 PM 7 rev

Hello everybody

I tried to move files from one directory to another and figured out, that you can only make the Post-Processing of the SFTP adapter happen, if you're Integration Flow doesn't "crash" (e.g. no Error End Event in the Exception Subprocess) otherwise it will keep the file in the directory and reprocess it. In order to make this work with exceptions you have to use an End Message.

image.png

The downside, which is what im trying to get at, is, that it would show exceptions as successful but in my POV this doesn't make any sense. I want to see if it "crashed" (e.g. use an Error End Event) and still be able to trigger the Post-Processing of the SFTP adapter (e.g. move the file).

I know that you can change the path where the file is moved to based on an exception but this is not what I'm trying to do.

My Question now is...

Do I misunderstand something here or would it make sense to have an option, so you can always run the Post-Processing of the SFTP adapter?

Attachments

image.png (25.6 kB)