status === ActionLogStatus::RUNNING) { Session::put('currentActionLog', $actionLog->batch_id); } } /** * Handle the ActionLog "updating" event. */ public function updating(ActionLog $actionLog): void { if ($actionLog->status === ActionLogStatus::RUNNING) { Session::put('currentActionLog', $actionLog->batch_id); } } }