© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
Trauma Zombie

Where to send notification after relationship created

Hi guys, I have two simple models: Task and User. There is belongsToMany relationship between these two. In my Task resource I have Select::multiple() and also UsersRelationManager. In User resource I have TasksRelationManager. I want to send notification each time new user is assigned to task. Where do you suggest to place this part? I tried it inside TaskObserver on created method, but Filament is saving relationships after first commit, so there is no $task->users on created method.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

One Relationship Manager firing created notification twice
FilamentFFilament / ❓┊help
2y ago
Relationship problems? (relationship with where)
FilamentFFilament / ❓┊help
3y ago
How to send a success notification after a custom action ?
FilamentFFilament / ❓┊help
3y ago
Database Notification not being created
FilamentFFilament / ❓┊help
3y ago