UiPath.Core.Activities.GetFolderInfoX
Note:
This activity was first introduced in the UiPath.System.Activities v19.12.0-preview activities package.
Retrieves the properties of a specified folder and saves the information for later use in the project. You can then select one of the folder properties as input for another activity: Files (total number of files in the folder), Folders (total number of subfolders in the folder), Name, Full path, Last modified date (date including time), Size in KB.
In the Body of the Activity
- Folder Path - Click next to the field and then browse to and select the folder whose information to retrieve. 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:
- 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. To add dynamic paths, you can combine text with Excel formulas selected using the menu in the Text Builder. For example, for a folder created daily that includes the current date in the name, you can add the date to the folder name using a formula in the default Excel Workspace.
- Open in Advanced Editor - Enter a VB expression.
- Output to - Click on the right side of the field and then, from the menu, select Save for Later Use to use the output result later in your project as input for another activity. Alternatively, you can select Open in Advanced Editor and 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
- Output to - See Output to in the body of the activity.
Updated 2 years ago