data-service
2023.10
false
- Getting started
- Setup and configuration
- Using Data Service
- Reference
- Examples & Tutorials
- Using Entities in Projects
- Uploading File Fields in Entity Records
- Downloading File Fields in Entity Records
- Uploading Data From CSV Using Batch Activities
Uploading Data From CSV Using Batch Activities
Data Service User Guide
Last updated Apr 19, 2024
Uploading Data From CSV Using Batch Activities
Batch activities accept and return a
List<T>
of entity records as
input and output for creating, updating, or deleting multiple items.
These activities can accept up to 1,000 records in a single call and each activity call will count as one call against your service usage quota.
To understand how to use batch activities in Data Service, download the example below and follow the steps in this tutorial. The example creates 50 records for an entity via 2 batch activity calls.
To run the downloaded example:
- Connect to your UiPath organization.
- Make sure Data Service is enabled in your tenant.
- Create the entity from the example.
- Connect the corresponding Orchestrator tenant to the UiPath® Robot.
Workflows containing batch activities typically include a For Each loop to iterate
thought the records list, and to populate the
List<T>
list
variable. The variable is then passed to the batch activity as input.
The
States.csv
file contains the records that the batch activity adds to your Data Service entity.
To run the batch activity, create an entity that has the same fields as your data.