Delete Record
This node permanently removes a record from the database.
The Delete Record node performs a delete operation on a specific ID.
The Delete Record node takes a Record Id and a Class and removes that entry from the database. This action is permanent.
Inputs
General
| Data | Description |
|---|---|
| Class | The database collection. |
| Record Id | The ID of the record to delete. |
Actions
| Signal | Description |
|---|---|
| Do | Triggers the delete operation. |
Outputs
Events
| Signal | Description |
|---|---|
| Success | Triggered when the record is successfully deleted. |
| Failure | Triggered if the delete fails (e.g., permissions, not found). |
Usage
Delete Button
- Inside a Repeater (list of items).
- User clicks "Delete".
- Connect the Item ID to Record Id.
- Trigger Do.
- The item will automatically disappear from the list (because the list observes the collection).
Detailed Behavior
- Notification: Upon success, the node notifies the global system that this ID has been deleted. Any Filter Records or Record nodes observing this ID will update accordingly (e.g., removing it from lists).
Troubleshooting
- Permission: Most delete failures are due to RLS (Row Level Security) policies preventing the user from deleting the record.