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
Name | Description |
---|---|
Optional | |
Delay | Specifies 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 | |
Result | Outputs 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
- Drag and drop the "Shared" activity onto the workflow.
- Optionally, configure the delay for the execution of the "Shared" activity.
- Execute the workflow to retrieve a collection of files shared with the user within OneDrive.
- 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.