UiPath Documentation
activities
latest
false
Activités de workflow
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Créer un enregistrement d’entité

Activité Créer un enregistrement d’entité qui crée un nouvel enregistrement pour l'entité sélectionnée dans UiPath Data Service.

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

Description

Crée un nouvel enregistrement pour l'entité sélectionnée dans UiPath Data Service.

Compatibilité du projet

Windows | Multiplate-forme

Remarque :

Cette activité est prise en charge uniquement dans les workflows RPA (à la fois pour Studio Desktop et Studio Web). Pour les autres workflows, utilisez plutôt l'activité de connecteur UiPath Data Fabric.

Module Designer

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.

Entité

Entité : sélectionnez l'entité que vous souhaitez utiliser avec l'activité. La propriété ne prend en charge que les entités importées du 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.

Panneau propriétés

Options

  • Timeout (millisecondes) : spécifie le délai d'attente (en millisecondes) pour l'exécution de l'activité avant qu'une erreur soit générée. La valeur par défaut est de 30 000 millisecondes (30 secondes).
  • 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.

Sortie

  • Enregistrement de sortie : l’enregistrement créé à partir de Data Service, stocké dans une entité. Ce champ ne prend en charge que les entités importées depuis Data Service et doit être du même type que le type d'entité sélectionné.
  • Description
  • Compatibilité du projet
  • Module Designer
  • Entity scope
  • Entité
  • Panneau propriétés
  • Options
  • Sortie

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour