🧡 Skip to main content🔍 Skip to search

After its completion the Delete File Action retains some of its operational data such as the full path and filenames of deleted files as well as the number of deleted files and completion status of the file deletion procedure.

These dynamic data on file deletion can be retrieved by the means of Variable Wizard and used for automatic ad-hoc configuration of the next Actions, thus streamlining automatic file deletion into the wider context of the Task.

VariableDetails
Last file The full path and name of the last file removed during file deletion process.
Examples:
  • C:\My Files\Invoices\Summary2024.pdf
  • D:\Docs\Charts\profit23.pdf
  • N:\Job\fax.docx
  • \\db.lan\Share\ceo.pdf
List of deleted files The list of files removed during file deletion.
Examples:
  • C:\My Files\Invoices\Summary2024.pdf
  • D:\Docs\intro.pdf|D:\Docs\Charts\profit23.pdf
  • N:\Job\b2b.xlsx|N:\Job\swot.xlsx|N:\Job\fax.docx
  • \\db.lan\Share\report.pdf|\\db.lan\Share\ceo.pdf
Number of deleted files The total number of files that were deleted.
Examples:
  • 1
  • 2
  • 3
  • 2
Completion statusRetrieve Action execution status with a possible value—Successful or Failed. Or Empty, if Action has not been executed yet.
Adjust*Streamline creation of Task workflows even further—instantly make quick variable adjustments such as in-place replacement (all, first, or last occurrence), trimming (whitespaces, quotes, etc.), or changing capitalization. Optionally, set a different display name.

Automatic list processing…

The Delete File variables returned as lists (even multi-level) can be automatically processed in further Actions. Use the For Each Action to parse a given text string (any list variable) and sequentially retrieve its elements one by one · see list processing examples. Or, use the Split Text and Lookup Text Actions to access list elements by their indices.

We are here to help…

If you have any questions, please do not hesitate to contact our support team.