Stack Overflow for Teams is moving to its own domain! When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on stackoverflow.com.
Check your email for updates.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
You can use Cascade Delete Feature.
Cascade Delete Feature Provides Lookup Relationships the same cascading delete functionality previously only available to Master Detail Relationships
However, be ...
Text field values, when retrieved from the database (e.g. at the start of a trigger), will always be null or a non-empty string. In other words, your comparison should be: