- Getting Started
- Demo apps
- How To
- Notifications
- Using VB Expressions
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Value
- Rule: Start Process
- Rule: Reset Values
- Rule: Upload File to Storage Bucket
- Rule: Download File From Storage Bucket
- Rule: Create Entity Record
- Rule: Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Rule: Trigger workflow
- Rule: Submit Action
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Leveraging Media in your app
- Leveraging Actions in your app
- Application Lifecycle Management (ALM)
- UiPath® First-Party Apps
- Basic Troubleshooting Guide
Apps User Guide
Rule: Delete Entity Record
Use the Delete Entity Record rule to delete a record from an entity which was imported from Data Service in your app.
Clicking the Which entity record should be updated? field opens the Resources panel, which displays the available imported Data Service entities.
Select the entity by double-clicking on it. Once selected, the following properties become available:
-
Values to set
-
When deleted
-
On Error
Provide the ID of the record you want to delete.
You can find the ID in Data Service > <Entity_name> > Data.
To use the record ID in this rule, declare it as a variable of type Guid, or write the following syntax in the Entity record Id field:
New Guid("record_id_string")
New Guid("record_id_string")
In this section you can define rules to be executed right after the entity record has been deleted.
For example: You can display a success message after the record is deleted using the Show Message rule and selecting Success from the Type dropdown.