apps
2023.10
false
UiPath logo, featuring letters U and I in white
Apps User Guide
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Nov 11, 2024

Rule: Upload File to Storage Bucket

Use the Upload file to Storage bucket to upload a file to the indicated Orchestrator storage bucket.



File to upload

Use the Expression editor to reference the object of type AppsFile you want to upload to the storage bucket.

Note:
Uploading .exe files is restricted.

Storage bucket

Clicking the Storage bucket field opens the Resources panel, which displays the available Orchestrator storage buckets.

Select the storage bucket you want to upload to by double-clicking on it.

Upload File Name (with extension)

The name used to identify the file in the storage bucket. You can either provide a name for your file, or opt for a unique, automatically generated name.

To generate a unique name for your file, select the Auto-generate name checkbox.

Note: To prevent file overwrites, we recommend you to use the Auto-generate name feature.

When completed

In this section you can define rules to be executed after the uploading of the file completes.

For example: After the file is successfully uploaded, you want to start the process that sends the file name as an input argument to the process. The process then can download the file from the storage bucket and perform further operations.

Errors

In this section you can define rules to be executed when the uploading of the file encounters an error.

For example: To track the failure, you can add a Show Message rule. You can then specify the title, message, and type of the error.

Rule output properties

  • Error - references the error message shown if the job fails.

  • UploadedFileName - references the name of the uploaded file.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.