Abonnieren

UiPath-Aktivitäten

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

For Each Row in Data Table

UiPath.Core.Activities.ForEachRow

Beschreibung

Führt eine Aktion einmalig für jede Zeile in der angegebenen DataTable-Variablen aus.

Eigenschaften

Eingabe

  • Datentabelle (DataTable) - Die Variable DataTable, für die eine Aktion für jede Zeile ausgeführt werden muss.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Common

  • DisplayName - The display name of the activity.

Ausgabe

  • Index - A zero-based index that specifies what element of the current collection is being iterated, stored in an Int32 variable.

Example of using the For Each Row in Data Table activity

Here you can see how the For Each Row activity is used in an example that incorporates multiple activities.

UiPath.Core.Activities.ForEachRow

Beschreibung

Executes an action once for each row in a specified Data Table.

Configuring the Activity

In the Body of the Activity

  • For each - Enter the name by which to refer to the current row in the iteration. The default value is CurrentRow.
  • In - Click Plus plus button on the right side of the field and then, from the menu, select the data table to be used:
    • Data from the Project Notebook or a parent Excel file. For example, select an Excel file, and then select Indicate in Excel.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advan