Upload Part
UiPath.Box.Activities.File.ChunkedUpload.UploadPart
The Upload Part activity uses the Box Upload part of file API to update a chunk (Part Index) of an upload session (Upload Session) for a file.
After updating the session, the activity outputs a BoxSessionPartInfo object (PartInfo) that includes the properties of the update.
How it works
The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Box Scope activity to your project.
- Add an activity or run an external process that outputs a
BoxUploadSessionvalue (e.g., Create Upload Session). - Add the Upload Part activity inside the Box Scope activity.
- Enter values for the Input property.
- Create and enter a
BoxSessionPartInfovariable for the Output property.-
Your input property values are sent in the Upload part of file API operation request.
-
The operation returns the
BoxSessionPartInfovalue to your output property variable.
-
Properties
Common
- ContinueOnError - Specifies if you want the activity to continue running when an error is thrown. This field supports only
Booleanvalues. - DisplayName - The display name of the activity. This field supports only
StringsorStringvariables.
Input
- Part Index - The index of the file part starting from 0. Enter a
BoxUploadSession. This field supports onlyInt32variables. - Upload Session - The upload session object. Enter a
BoxUploadSession. To get the BoxUploadSession value, add an activity or run an external process that outputs aBoxUloadSessionobject (e.g., Create Upload Session).
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Options
- File Path - The location of the file that you want to upload. This field supports only
StringsorStringvariables. If left empty, the activity defaults to the file path that was used to create the upload session.
Output
- PartInfo - The
BoxSessionPartInfoobject that includes the part properties. This field supports onlyBoxSessionPartInfovariables. TheBoxSessionPartInfoobject includes multiple properties that you can use in other activities.