Customizing the creation process

Hi guys, could you tell me how I can insert the mandatory return without creating the record since the ApplyCashback Job that applies custom dynamics already does it?
protected function handleRecordCreation(array $data): Model
{
    ApplyCashback::dispatch($data['userId'], $data['serviceId']); // Job with creating logic
    return static::getModel()::create($data); // I don't need to create another record
}
Was this page helpful?