If File Action checks if specified file exists on disk or not and conditionally executes one group of Actions or another according to its settings. If File Action can be set to run other Actions if the specified file matches criteria, namely, the file exists or, on the contrary, does not exist.
With Else Action user can specify a group of Actions that is run if criteria do not match.
Compare | Details |
---|---|
If file | Provide a fixed value or variable to specify the file whose status will be verified. Wildcards and file masks are supported. |
Compare | Choose which file status will lead to conditional execution of nested Actions:
When using wildcards * and ? , the Action checks and returns the first file that matches the file mask and selected condition:
|
Browse | Use Browse to select a particular file or folder on local disk, network share on LAN (local area network), etc. |
Variable Wizard | Use dynamic data input—substitute a parameter from a file, web, connected Trigger, other Actions, date and time presets, etc. |
Interconnect
- If File integration and auditing—Variables (dynamic data) and Events (recorded activity). Access the filename and condition, and whether the condition was met. Additionally, information events indicating the current state of the file are logged.
More comparisons…
Automation Workshop offers specialized Actions tailored to various resources. Each of them features an intuitive interface designed for a specific resource type. Explore more comparison options:
- If · Overview
- If Remote File · Overview
- If Remote Directory · Overview
- If Folder · Overview
- If Service · Overview
- If App · Overview
File comparison Actions allow you to verify the existence or absence of files and check if a file is currently being written to or used by other applications. Folder and directory comparison Actions enable you to verify the existence or absence of local folders and remote directories, as well as check if they are empty, not empty, or does not contain files.
Branching alternatives…
While If–then logic is the most widely used approach to split a Task into two execution paths, there are additional methods to branch an automated workflow · Action flow explained
Still have a question?
If you have any questions, please do not hesitate to contact our support team.