You need to sign in to do that
Don't have an account?
rashi krishan
Update a field Last modified by on lead when its related list is updated
I need a trigger which updates a field name Last modified by on lead when any of its related list is created or updated
However, LastModifiedBy is a field which cannot be updated. It automatically gets updated when any modification is performed.
So all you can do is perform an update on Lead when any of the related records are updated (using a trigger).
a rough sample for Campaign Member related list on Leads:
Since you're updating leads, the lastmodifiedby and the lastmodifieddate fields will be updated.
Hope this helps :)