If a data source has related data, you can use the layer's relationship to configure a message action. The following trigger, targets, and actions support related data:
Record selection changes - Framework - Select/Filter data records
Record selection changes - Map - Filter, Flash