Boomi Tip: How to delete a folder in Boomi
April 9, 2014 /
Posted in Boomi Tips
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:
Method 1:
Write a Groovy script in a Data Process shape to perform the delete
Method 2:
Use a Program Command shape to execute this command (Windows): RD /S /Q “C:\Users\UserName\Desktop\Folder”
Happy Boomi’ng 😀