Skip to main content

Get File

Description

Use this activity to get file information of an existing file in the specified Microsoft 365 SharePoint/OneDrive Library.

note

This activity works only inside Microsoft 365 Context activity.

Properties

Location

  • Site Url – Specify the absolute site URL containing the library.
  • Library Name – Specify the library's name which contains the File. If left empty default library (Shared Documents) in the site is chosen.
  • File Path – Specify the relative path in the library to get the File information.

Misc

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Optional

  • Continue On Error – It Specifies whether the automation should continue even though this activity fails. This field only supports Boolean values (True, False). The default value is False.
note

If this Activity is present inside Try Catch and the value of this property is True, it will ignore errors during the automation execution.

Output

  • File Info – Returns FileInfo containing information about the retrieved file.

Example

Download Example

Get Files