Recently, we have an integration specification that requires us to read a list of files from a disk directory and move them into a temp/ folder. In order to make sure that the temp/ folder always only contain the latest file, we will have to delete the temp/ folder every time before we move files into it. So how can you delete a folder in Boomi?
There are a few ways:
Write a Groovy script in a Data Process shape to perform the delete
Use a Program Command shape to execute this command (Windows): RD /S /Q “C:\Users\UserName\Desktop\Folder”
Happy Boomi’ng 😀