Activities
The following table lists the activities that are included in the Box activity package.
| Activity | Description |
|---|---|
| Box Scope | Establishes an authenticated connection between UiPath and your Box application. |
| Commit Session | Commits a file Upload Session. Returns a Box File object when completed. |
| Create File Version Session | Creates a new file version session. Outputs the comments in a Upload Session object that you will use in subsequent activities (e.g., conditional logic). |
| Create Upload Session | Creates a new file upload session. Outputs the comments in a Upload Session object that you will use in subsequent activities (e.g., conditional logic). |
| Upload Part | Uploads part of a file as part of an Upload Session. Returns a PartInfo object. |
| Delete Old Version | Deletes an old file version. |
| Get Versions | Gets information on prior versions of a file. |
| Promote Version | Copies a previous file version and makes it the current version of the file. |
| Upload File Version | Uploads a new version of an existing file. |
| Copy File | Copies a file to a different folder. After retrieving the record, the activity outputs the new record in a BoxFile object (BoxFile). |
| Delete File | Deletes a file. After inserting the record, the activity outputs the status of the request (success/failure information) in a IsSuccessful boolean object that you can use in subsequent activities (e.g., conditional logic). |
| Download File | Downloads a specific file to a local file path. |
| Get File Comments | Gets all the comments for a specific file. Outputs the comments in a BoxComment[] object that you can use in subsequent activities (e.g., conditional logic). |
| Get File Info | Gets basic information for a specific file, such as File Name, Is Locked, and Size |
| Get File Info Details | Retrieves the results of an existing saved search for a specified record type. After retrieving the saved search, the activity outputs the search results in a DataTable object and the status of the request (success/failure information) in a ResponseStatus object. |
| Get File Lock Info | Returns a File Lock object for a specific file. |
| Lock File | Locks a specific file with options to set the expiration and whether or not to prevent downloads |
| Move File | Moves a File to a specific Folder and allows the renaming of the file as part of the move. Returns a new Box File object for use in subsequent operations. |
| Unlock File | Unlocks a specific Box file. Returns a File Lock object as part of the operation. |
| Upload File | Uploads a file to Box from a local file path to a specific folder. Allows the renaming of the file and the mode of upload as options. A BoxFile object and the new File Id of the file are returned from the operation. |
| Copy Folder | Copies a folder to a new parent folder. Returns a Box Folder object of the folder that was moved. |
| Create Folder | Creates a new folder. Returns a Box Folder object as part of the operation. |
| Delete Folder | Deletes a folder with the option to do so recursively. Returns an Is Successful boolean object when completed that you can use in subsequent activities (e.g., conditional logic). |
| Get Folder Info | Gets information for a specific folder. Returns a Box Folder object as part of the operation. |
| Get Folder Items | Gets the contents of a folder. Returns a Folders[] object and Files[] object as part of the operation that you can use in subsequent activities. |
| Rename Folder | Renames a folder. Returns a BoxFolder object as part of the operation that you can use in subsequent activities. |
| Search For Content | Retrieves the items that match your search parameters. |
| Execute Method | Invokes a specific Box API method. |