Activities
latest
false
Banner background image
Workflow Activities
Last updated Apr 22, 2024

Upload File to Record Field

UiPath.DataService.Activities.UploadFileToRecordField<UiPath.DataService.Definition.IEntity>

Description

Uploads a file to a specified field of an entity record.

Note: If a file already exists in the specified entity record, the activity replaces it with the mentioned one.

Project compatibility

Windows | Cross-platform

Designer panel

  • Entity - Select the entity you want to use with the activity. The property only supports entities imported from Data Service.

  • Record Id - Once you select an entity, the wizard asks you to provide the ID of the record where you want to upload a file. The ID can be found on the Data Service > Entity > Data page.

  • Field - Select the file-type field of the previously selected record where you want to upload the file.

  • File Resource - Specify the file variable that you want to upload. The file must not exceed 10MB.

    Note:

    A file variable is the saved output of a file from other activities.

Properties panel

Options

  • Timeout (milliseconds) - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).

Output

  • Output Record - The updated record from the Data Service, stored in an entity. This field only supports entities imported from Data Service and must be of the same type as the selected entity type.

  • Description
  • Project compatibility
  • Designer panel
  • Properties panel

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.