I have inherited an after insert lead trigger that calls a future method. Based on the response returned by this method, it inserts records in an object. Lets call this object -LeadCopy__c.
Lead --> AFTER INSERT TRIGGER --> FUTURE METHOD --> insert records in LeadCopy__c
A change requested by the user is that she wants the lead record to also get updated after the future method has inserted records in that object.
1) Future method cannot return values to the calling trigger.
2) If I put another trigger on the LeadCopy__c object to update the primary lead record, it will just result in a mess.
What is the best way to make this change?
after insert
trigger onLeadCopy__c
to update the associatedLead
record?