Abonnieren

UiPath-Aktivitäten

Die Anleitung zu UiPath-Aktivitäten (The UiPath Activities Guide)

Upload File to Record Field

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

Beschreibung

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.

Eigenschaften

Common

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

📘

Note:

Wenn die Aktivität in Abfangen versuchen (Try Catch) enthalten ist und der Wert der Eigenschaft BeiFehlerFortfahren (ContinueOnError) auf Wahr (True) gesetzt ist, wird kein Fehler bei der Ausführung des Projekts abgefangen.

  • DisplayName - The display name of the activity.
  • Timeout (Millisekunden) (Timeout (milliseconds)) - Gibt an, wie lange (in Millisekunden) die Aktivität laufen muss, bevor ein Fehler ausgegeben wird. Der Standardwert ist 30000 Millisekunden (30 Sekunden).

Input

  • File Path - The full local path to the file you want to upload. Relative paths are resolved based on the runtime execution directory. File size cannot exceed 10 MB.
  • Record ID - Id for the record from Data Service for the selected Entity type to upload the file.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • TypeArgument - The Entity type you want to use with the activity. The property only supports types imported from Data Service. This property is called Entity Type in the body of the activity. By default, UiPath.DataService.Definition.IEntity is selected.

Optionen

  • Related Record Depth - The depth of related records to be retrieved from the service. The property supports values from 1 to 3. The default value is 2.

Output

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

In the Body of the Activity

  • Entity Type - The Entity type you want to use with the activity. The property only supports types imported from Data Service. By default, UiPath.DataService.Definition.IEntity is selected.
  • Record Id - Id for the record from Data Service for the selected Entity type to upload the file.
  • Field - The field where you want to upload the file for the specified record. This property only supports fields of type File from Data Service.
  • File Path -The full local path to the file you want to upload. Relative paths are resolved based on the runtime execution directory. File size cannot exceed 10 MB.
  • Output Record - The updated record from the Data Service, stored in an Entity type object. This field only supports objects of types imported from Data Service and must be of the same type as the selected Entity Type.

Aktualisiert vor 6 Monaten


Upload File to Record Field


Auf API-Referenzseiten sind Änderungsvorschläge beschränkt

You can only suggest edits to Markdown body content, but not to the API spec.