Select to view content in your preferred language

When would you use the "Delete" trigger for attribute rules?

594
3
Jump to solution
10-02-2024 05:06 AM
Labels (2)
MDB_GIS
Frequent Contributor

I have recently started studying and implementing a few attribute rules in our data but I don't quite understand the purpose of the "Delete" trigger as it seems superfluous. If a feature is being deleted, then why would you need to update the attributes on it? What are the use cases for it? I'm assuming it is more useful on the constraint and validation rules? I haven't dove into those yet so I'm having a hard time envisioning how to use the delete Trigger. 

0 Kudos
1 Solution
3 Replies
ZachBodenner
MVP Regular Contributor

Attribute rules can also be used to update other features than the one the rule is actually written on. As an example, say you have a feature that has a related table that tracks maintenance. You could write an attribute rule that could end edits to a maintenance record when the parent feature is deleted.

I'm sure there are many more examples, so I'm curious to see what others post about.

Happy mapping,
- Zach
0 Kudos
MDB_GIS
Frequent Contributor

Great examples and very interesting use cases. Thank you both!