UiPath.Core.Activities.FolderExistsX
Checks if the specified folder path exists.
To learn how to use this activity, see Tutorial: Working with Files and Folders.
In the Body of the Activity
- Folder path - Click next to the field and then browse to and select the folder to check. Alternatively, you can click on the right side of the field and then, from the menu, choose one of the available options to indicate the folder path to check:
- Data from an application added to a card or from the Excel Workspace. For example, select an Excel file and then select a cell that contains a folder path, or indicate a field from a selected email in Outlook that contains a folder path.
- Use Saved Value - Select a value in the form of a folder path that you previously saved for later use in the project.
- Text - Enter a folder path in the Text Builder. You can combine text with a formula from an Excel file cell, for example to add a date to the folder name using formulas in the Excel Workspace.
- Open in Advanced Editor - Enter a VB expression.
- Output result - Click on the right side of the field and then, from the menu, choose one of the available options to indicate where to save the result (TRUE if the folder exists or FALSE if the folder does not exist):
- Select an Excel file or the Excel Workspace and then select a cell where to save the result.
- Save for Later Use - Use the output result later in your project as input for another activity.
- Open in Advanced Editor - Enter a VB expression.
Properties
Common
- Display Name - The name displayed for the activity in the Designer panel.
Input
- Path - See Folder path in the body of the activity.
Misc
- Private - If selected, the data used in the activity is not logged by StudioX.
Output
- Exists - See Output result in the body of the activity.
Updated 2 years ago