exports/orders.json becomes exports/orders-1.json when the original is taken. When the path is already free, it is returned unchanged. The path it returns is meant to be passed on to a step that writes, copies, or moves the file, so the same conflict handling is also available directly on the Filesystem write, copy, and move transformers.
Fields
Sample data
This feature does not transform a value on its own. It looks at the live filesystem to decide whether a path is already in use, then hands back a safe path, so there is no fixed before/after to show: the same input can return a different result depending on what files already exist. Below is a typical configuration and how it behaves.| Field | Value |
|---|---|
| Filesystem connection | A connection where exports/orders.json already exists |
| When the file exists | Add an increasing number to the filename (default pattern, starting at 0) |
exports/orders.json returns exports/orders-1.json, because the original name is already taken. If exports/orders.json does not exist yet, the same path is returned untouched.