UiPath Documentation
activities
latest
false
Workflow activities

Create Entity Record

Create Entity Record activity that creates a new record for the selected Entity in UiPath Data Service.

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

Description

Creates a new record for the selected Entity in UiPath Data Service.

Project compatibility

Windows | Cross-platform

Note:

This activity is supported only in RPA workflows (both Studio Desktop and Studio Web). For other workflows, use the UiPath Data Fabric connector activity instead.

Designer panel

Entity scope

Entity scope - Select Tenant for tenant-wide entities or Folder for entities across all accessible Orchestrator folders. Folder scope requires UiPath.DataService.Activities v26.10.0 or later, where it is generally available, and works only inside a Solution.

Selecting Folder changes the Entity list from a flat list of tenant entities into a resource tree, grouped by Solution Resources and by each Orchestrator folder you have access to. Select Refresh to update the schema of the selected entity and all of its related entities.

Selecting Tenant inside a Solution displays a warning, because tenant-level entity schemas are not packaged with the Solution. Create them manually in the target environment before you deploy. Only folder-level entities are included as Solution resources. For more information, refer to Entities in Solutions.

Entity

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

Once you select an entity, the fields view is displayed, which shows the first three mandatory entity fields. If you have less than three mandatory fields, the wizard displays the mandatory fields first, and non-mandatory fields after. Fields are sorted alphabetically.

To input field data using an expression, select Switch to record view within the activity. The Input Record field is displayed, which allows you to input data to a particular field using the syntax:

new EntityName() with {.Field1 = value}
new EntityName() with {.Field1 = value}

To configure more fields, select Add additional fields, make your selection, then select Update fields/Save.

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).
  • Related Record Depth - Specifies the depth of related records to be retrieved from the service. This property supports values from 1 to 3. The default value is 2.

Output

  • Output Record - The record created 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
  • Entity scope
  • Entity
  • Properties panel
  • Options
  • Output

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated