Share File/Folder

You can select this activity to share a file or folder with the specific recipients.

This table lists the properties for the activity.

Property Type Property Name Data type Description
Common Continue on error Boolean The option to continue the RPA flow even if the activity fails. This check box is selected by default.
Input File or Folder to Share <OneDriveItem> The file or folder to be shared.
Grantee permission GranteePermission

Dropdown for View or Edit

The type of permission to be granted.
Grantee type Dropdown: People in organization, Specific people, Anyone The type of recipients to whom the permissions are granted.
Misc DisplayName String The name to be displayed for the activity.
Output Access URL <String> The web URL of the sharing link or of the drive item (Specific People).
Response Code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses.
Specific People Message <String> A plain text to be included in the sharing invitation email.
Recipients <String[]> A collection of specific recipients who must receive access and, optionally, a sharing invitation. Email addresses of the recipients must be specified.
Require sign in <Boolean> Permission to view the shared item. If True value is specified in this field, recipients are required to sign in to view the shared item.
Send sharing invitation mail <Boolean> A sharing invitation email is sent to the recipients specified in the Recipients property.