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
raghav kumar 7raghav kumar 7 

write a trigger on position, when ever a position is created or edited position history object automatically entered or updated in position history object

LBKLBK
Are you trying to achieve something like tracking the changes made in a record?

Have you tried enabling "History Tracking" for your Position object and required fields in it?
raghav kumar 7raghav kumar 7
create one position history sobject with  following field title,grade,type(full time,part time),min pay,max pay,created date ,created by(user).write a trigger when ever a position is created  or edited the following data should automatically entered or updated in position history object