public without sharing class FollowTriggerHandler extends Oly_TriggerHandler{ private Map newMap; private Map oldMap; private List newList; private List oldList; public FollowTriggerHandler() { this.newMap = (Map) Trigger.newMap; this.oldMap = (Map) Trigger.oldMap; this.newList = (List) Trigger.new; this.oldList = (List) Trigger.old; Integer i = 0; } protected override void afterUpdate() { followUpdate(); } public void followUpdate(){ Map> data = new Map>(); List rmList = new List(); for (Inquiry_form__c inquiry : newList) { List strList = new List(); Inquiry_form__c oldInquiry = null; if (Trigger.isUpdate) { oldInquiry = oldMap.get(inquiry.Id); } if (oldInquiry == null || inquiry.Product1__c != oldInquiry.Product1__c) { strList.add('Product1__c'); } data.put(inquiry, strList); } SplitOptionListUtil util = new SplitOptionListUtil(); util.makeObject(data); } }