GetFileInformation
This activity helps the user to retrieve detailed information about a specific file. It’s possible to obtain file information from a shared path as well, assuming access permissions are granted.
Properties
INPUT
FilePath: *This parameter specifies to provide the “Path” of the input file to extract the information. It accepts values in “String” datatype.
MISC
DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.
SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.
Version: It indicates the version of the feature being used.
OUTPUT
Accessibility: This parameter returns the accessibility status of the specified file in a Boolean datatype.
True: Indicates the file is accessible during automation.
False: Indicates the file is not accessible due to insufficient permissions
AccessTime: This parameter enables you to retrieve the last accessed time of the file and returns the values in “DateTime” data type displayed as 12-hour time format.
CreatedDateAndTime: This parameter helps you retrieve the “Date and Time” when the folder was created and returns the values in “DateTime” data type format.
Hidden: It helps to identify whether the file is hidden or not and returns the values in “Boolean” data type.
True: Indicates the file is hidden.
False: Indicates the file is not hidden.
IsValidPath: This parameter returns whether the specified path is valid or not in “Boolean” datatype.
True: Indicates the folder path is valid.
False: Indicates the folder path is not valid.
ModifiedTime: This parameter enables you to retrieve the “Date and Time” when the file was last modified, and it returns the values in “DateTime” data type format.
ReadOnly: This parameter helps you determine whether the file is in read-only mode or not and returns the values in “Boolean” data type.
True: Indicates the file is in read-only mode.
False: Indicates the file is not read-only mode.
SizeOnDisk: It returns the size of the file in “Int64” data type.
TypeOfFile: This parameter helps you identify the type of the provided file and returns the values in “String” data type.
UserPermission: It returns the list of users along with their permissions for this specific file in “DataTable” data type.
* Represents mandatory fields to execute the workflow.