Delete objects
The Delete objects action node deletes objects from the database or removes objects from a runtime-only data source.
Usage
This action node is used in two different contexts and the behavior has an important difference.
When used with a database-connected data source, the object(s) are permanently deleted from the database. Any delete rules configured on object class properties will be enforced.
When used with a runtime-only data source, the object(s) are removed from the data source. The database is not affected and delete rules are not enforced.
Best practice
When deleting an object you should have the user confirm the action, for example by placing the Delete objects action node inside an Open confirm dialog action node.
Working with schemas
Delete Objects can target an action variable or action param of type schema. When the target is a schema, the action node removes objects from the in-memory schema structure. Because schemas are not persisted in the database, deleting schema data does not affect stored data.
There is no selection mode for schemas. If the target schema is an array or contains a nested object, Delete Objects removes all the data in that schema.
Properties
Data Source
Select a data source that contains the object(s) to delete/remove.
Selection
Available if the selected Data Source is a many-cardinality data source. Define the objects to delete/remove.
All objectsFiltered selection
Filter
Available when Selection is Filtered selection. Define the filter to apply to the data source.
Last updated
Was this helpful?