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
nikita dhamalnikita dhamal 

Fetch the Object name tracked from list of objects and execute trigger for those objects only.

I have a requirement that the user will select some objects from a list of objects(on a vf page) he has on his org  and i want to fire same trigger on those selected objects individually. Is it possible??
Does anyone have a solution for this?
Hello Nikita,

Triggers are fired upon when you do DML for a particular record(s). If you select an object from the list, it should fire trigger for what records?
nikita dhamalnikita dhamal
i will have a list of objects with checkbox for each and for the  objects which are checked a trigger should fire.basically same trigger( for history tracking) for all the object where it should take object name from the selected it possible??

Triggers fires on records not on objects. Objects are just metadata.