Modifying the File Transfer workflow activity to prevent mass deletion of S3 Objects | Adobe Higher Education
Skip to main content
Level 3
May 13, 2025
해결됨

Modifying the File Transfer workflow activity to prevent mass deletion of S3 Objects

  • May 13, 2025
  • 3 답변들
  • 705 조회

Hello,

 

Currently, if a file transfer activity is set up with the "File download" action and "Delete the source files after transfer enabled", if no file is specified in the activity, it will download & then delete the entire content of the S3 bucket and all child folders.

 

  1. where is the fileTransfer activity configured in ACC?
  2. is there a documented modification to this behavior to limit deletion to only one object?

Thanks,

Skyler

최고의 답변: Parvesh_Parmar

Hi @skylerqu2 ,

 

You can not do it, even if somehow implement it, it is not best practice to change out of the box functionality.

 

If possible, best way first use file transfer activity only download the file, not use delete, and do your work and everything is done, then move/delete the file.

 

Kr,

Parvesh

3 답변

DavidKangni
Community Advisor
Community Advisor
May 14, 2025

Hi @skylerqu2 ,

 

If you don't specify the file, the system interprets it as a wild card. You need to specify the path and a pattern for the files you'd like to process.

 

Thanks,
David

David Kangni
SkylerQu2작성자
Level 3
May 14, 2025

Hi @davidkangni correct. We would like to add some failsafes in case of user error which would lead to mass file deletion due to this behavior. 

Parvesh_Parmar
Community Advisor
Community Advisor
May 15, 2025

Hi @skylerqu2 ,

 

You can not do it, even if somehow implement it, it is not best practice to change out of the box functionality.

 

If possible, best way first use file transfer activity only download the file, not use delete, and do your work and everything is done, then move/delete the file.

 

Kr,

Parvesh

Parvesh Parmar – Adobe Community Advisor https://www.linkedin.com/in/parvesh-parmar/
Level 2
May 19, 2025

Hi @skylerqu2 ,

 

To avoid deleting all files when none are present, start with a file transfer activity with file listing that lists files. If a file exists at the path, proceed with the download; if not, stop the flow or wait until the file becomes available. This ensures the download runs only when a file is present.

 

Regards,

Vishwadeep

Sukrity_Wadhwa
Community Manager
Community Manager
May 22, 2025

Hi @skylerqu2,

Were you able to resolve this query with the help of the provided solutions, or do you still need further assistance? Please let us know. If any of the answers were helpful in moving you closer to a resolution, even partially, we encourage you to mark the one that helped the most as the 'Correct Reply.'

Thank you!

Sukrity Wadhwa