function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
srikanth cheera 11srikanth cheera 11 

whenever object is created sendemail to owner?

Raj VakatiRaj Vakati
object  or record? 

if you want to send an email to owner when even record is created you can able to do it with the WF .. 

User-added image


Then Send email using workflow email alert 
srikanth cheera 11srikanth cheera 11
Object
Raj VakatiRaj Vakati
That is the lot of work .. you need to use the metadata or tooling api ...
Raj VakatiRaj Vakati
https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_entitydefinition.htm
srikanth cheera 11srikanth cheera 11
Thank you for the clarification.