Checks If Files Exist
Description
Checks if files exist, is a Process Entry in the Conditions Plugin for Process Studio Processes. Checks if files exist can be used to check for existence of one or more files/folders.
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Process Entry name | Specify a unique name for the process entry, on the workspace area. A process entry can be placed on the canvas several times; and each instance of the entry must have a unique name. |
| 2 | File/folder name | Click File…/Folder… to select the targeted location and then click Add to add the selection in Files/Folders table field. |
| Files/Folders: | This is a tabular section. | |
| 1 | File/folder | Specify the input field that will contain the filename at runtime Note: The field supports regular expressions for the last segment (node) of the file path. For example, C:\\Users\\Documents\\Project\\files\\file_*.txt, the regular expression will only apply to the file_*.txt segment.Wild Cards Example: 1. * : Matches zero or more characters in the last segment. Path: C:\Users\Documents\Project\files\file_*.txtExplanation: To match any file in the folder, that starts with file_ and has a .txt extension. 2. ? : Matches exactly one character in the last segment. Path: C:\Users\Documents\Project\files\file_?.txt Explanation: To match any file in the folder where file_ is followed by exactly one character and ends with .txt, such as file_a.txt, file_1.txt 3. [abc] : Matches any one of the specified characters in the brackets. Path: C:\Users\Documents\Project\files\file_[abc].txt Explanation: To match any file in the folder where file_ is followed by a, b, or c and ends with .txt, such as file_a.txt,or file_b.txt, or file_c.txt |