Skip to main content

Shared

AutomatR.OneDriveApp.Activities.Shared

The "Shared" activity in AutomatR, part of the OneDrive activities package, retrieves a collection of files shared with the user within Microsoft OneDrive. This activity simplifies the process of identifying files shared with the user, enhancing the efficiency of automation workflows.

Properties

NameDescription
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Shared" activity. Integer variables containing the delay duration. Example: 5 seconds i.e. 5.
Output
ResultOutputs the result of the "Shared" activity, providing a collection of files shared with the user. The result is stored in an IDriveSharedWithMeCollectionPage variable, allowing you to utilize it for further activities.

How to Use

  1. Drag and drop the "Shared" activity onto the workflow.
  2. Optionally, configure the delay for the execution of the "Shared" activity.
  3. Execute the workflow to retrieve a collection of files shared with the user within OneDrive.
  4. Utilize the output variable (Result) to access information about the shared files for further activities.

Example:

Consider an example where the "Shared" activity is used to retrieve a collection of files shared with the user:

Shared:
Display Name: "Retrieve Shared Files"
Delay: 3
Result: sharedFilesCollection

In this example, the activity retrieves a collection of files shared with the user within OneDrive, and the result is stored in the sharedFilesCollection variable for further handling in the workflow.