In this Page

Scenario

I want to use a pipeline to delete a selection of files from a particular project in SnapLogic. These files all start with the same first few characters.

Requirements

Snaps Used

For this scenario, the following Snaps are used:

Configuration

  1. Create a new pipeline by clicking the (+) tab.
  2. Add and configure a REST Get Snap.
  3. Add and configure a Structure Snap to extract the "entity" from the output of the REST Get Snap.
  4. Add and configure a JSON Splitter Snap to split the output into a single document per entry
  5. Add and configure a Filter Snap to filter assets starting with the same characters.
  6. Add and configure a second Filter Snap to verify you will only be deleting assets of type File from the project.
  7. Add and configure a REST Delete Snap to delete the files and route errors to the error view.
  8. Add and configure a Union Snap to union the output of the two output flows.
  9. Add and configure a JSON Formatter Snaps.
  10. Add and configure a File Writer Snap.