CarlBowden
CarlBowden
FFilament
Created by CarlBowden on 12/20/2024 in #❓┊help
Question: How to automatically trigger an export when a model's status changes?
I'm trying to automatically generate an export whenever a model's status attribute changes to a specific value, without using Filament's export action. I want to use the same 'exporter' class as the output has been approved by the client. For example, when the status changes to "completed", I'd like to trigger the export process. A notification when the export is generated would be nice but isn't required. I'm looking for guidance on how to programmatically trigger Filament's export functionality. Has anyone implemented something similar or can point me in the right direction? Environment: - Laravel 11.36.1 - Filament 3.2.131
6 replies