Comparing files using logic control
The File Compare Logic Control
action allows you to make the execution of downstream actions dependent on the existence or age of a file.
On the Connections tab:
-
Enter a name and description.
-
Specify the path to the file being examined.
-
Define the pass criteria.
Possible applications include:
- Run a set of actions or macros if a file exists
- Run a set of actions or macros if a file has been modified within a certain timeframe
- Run a set of actions or macros if a file has been created within a certain timeframe
Compare files using logic control
- Drag the File Compare Logic Control icon onto the design surface.
-
On the Configuration tab
, enter a Name and a Description to identify this logic control, then configure the file comparison options:- For File Path, enter the path of the file being evaluated, or use the browse button to locate the file.
- Indicate the criteria for passing the filter.
- To base the criteria on only the presence of the file, select Exists.
- To base the criteria on when the file was last changed, select Was modified within (d/h/m) and specify the value, such as 5d/2h/3m for within the last 5 days, 2 hours, and 3 minutes.
- To base the criteria on the file being over a certain age, select Date and choose a date from the calendar, or select Days/Hours/Minutes (d/h/m) and specify the value, such as 5d/2h/10m for 5 days, 2 hours, and 10 minutes.
Last modified: Thursday December 19, 2024