UiPath Documentation
activities
latest
false
Klassische Integrationsaktivitäten
Wichtig :
Bitte beachten Sie, dass dieser Inhalt teilweise mithilfe von maschineller Übersetzung lokalisiert wurde. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Download Activity Attachment

Aktivität zum Herunterladen eines angegebenen Anhangs an einen angegebenen Speicherort unter einem neuen oder vorhandenen Namen in Microsoft Dynamics 365

UiPath.MicrosoftDynamics.Activities.DownloadActivityAttachment

Die Aktivität Download Activity Attachment verwendet den Web API GET- Vorgang, um einen angegebenen Anhang (AttachmentId) an einen bestimmten Speicherort (Folder) unter einem neuen oder vorhandenen Namen (Filename) herunterzuladen.

After downloading the attachment, the activity outputs the status of the request (success/failure information) in a ResponseStatus object (MicrosoftDynamicsStatus) that you can use in subsequent activities (e.g., conditional logic).

Wie es funktioniert​

Die folgenden Schritte und das folgende Nachrichtensequenzdiagramm sind ein Beispiel dafür, wie die Aktivität von der Entwurfszeit (d. h. den Aktivitätsabhängigkeiten und Eingabe-/Ausgabeeigenschaften) bis zur Laufzeit funktioniert.

  1. Schließen Sie die Einrichtungsschritte ab.
  2. Fügen Sie Ihrem Projekt die Aktivität Microsoft Dynamics Application Scope hinzu.
  3. Fügen Sie eine Aktivität hinzu, oder führen Sie einen externen Prozess aus, der einen Anmerkungsbezeichner ausgibt (z. B. Insert Record, Upload Activity Attachment, Search Records).
  4. Add the Download Activity Attachment activity inside the Microsoft Dynamics Application Scope activity.
  5. Geben Sie Werte für die Eingabeeigenschaften ein.
  6. Erstellen und geben Sie eine ResponseStatus -Variable für die Output- Eigenschaft ein.
    • Die Operation gibt den Wert ResponseStatus an Ihre Ausgabeeigenschaftsvariable zurück.

Eigenschaften​

Allgemein​

  • DisplayName - The display name of the activity. This field supports only strings or String variables.

Eingabe​

  • Anhangs-ID – Der Bezeichner, der dem Anhang zugewiesen ist, den Sie herunterladen möchten. Dieses Feld unterstützt nur Strings oder String -Variablen. Um den AttachmentId- Wert abzurufen, verwenden Sie eine Aktivität, oder führen Sie einen externen Prozess aus, der einen Anhangsbezeichner ausgibt (z. B. Insert Record, Upload Activity Attachment, Search Records).
  • Folder - The complete local path to the folder that you want to download the file to. This field supports only Strings or String variables.
  • Filename - The new name for the downloaded file. This field supports only strings or String variables.
    • By default, the file is saved using the file name of the attachment. If a file with the same name exists in the Folder, the existing file is overwritten.
    • To rename the file (and avoid unwanted overwrites), use this property to enter a new file name with the type extension (e.g., DemoFile_Download.docx)

Sonstiges​

  • Privat (Private) - Bei Auswahl werden die Werte von Variablen und Argumenten nicht mehr auf der Stufe Verbose protokolliert.

Ausgabe​

  • ResponseStatus - The status of the request (success/failure information). Enter a ResponseStatus variable (UiPath.BAF.Models.ResponseStatus). The ResponseStatus object includes three properties that you can use in other activities.
    • Success - Boolean - Specifies whether the API request was successful.
    • ErrorCode - String - The response error if the API request is unsuccessful (Success=False).
    • Message - String - The error message.

Beispiel​

Die folgende Abbildung zeigt ein Beispiel für die Aktivitätsabhängigkeitsbeziehung und Eingabe-/Ausgabe-Eigenschaftswerte.

Schritt-für-Schritt-Anweisungen und Beispiele finden Sie in der Schnellstartanleitung .

  • Wie es funktioniert​
  • Eigenschaften​
  • Allgemein​
  • Eingabe​
  • Sonstiges​
  • Ausgabe​
  • Beispiel​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben