I am creating Managed package where it takes request from all objects.
For example I have “bucket” Object where it hold all requests coming from different Objects. And requests will be generated on dml actions on object like birthday update on contact. For stranded object I can created triggers and send along with App but I wanted to give provision for user to enable dml actions (trigger/ workflow behaviour) for custom object also.
so my plan for that is I will create Vf page where user select Objects to enable actions and in backend I will create trigger for that object and test class and all which is required.
Is it correct idea/approach ? . where I will get difficulties and can we create triggers in production by using tooling API from APP components.