+ Start a Discussion

Closing all pending tasks

How can I close all the pending tasks of a record (belongs to custom object) when ever its Status is changed

Jeff MayJeff May

You would need a trigger for that.  In the trigger on the custom object, you'll need to get a list of all pending tasks, set their status to closed, then update the task records.