How cam I close all the open task when the potential stage is changed to closed lost?

How cam I close all the open task when the potential stage is changed to closed lost?

I am trying to create a workflow where once the potential stage is changed to closed lost all the open actives will be changed to completed?