How do I cancel A LOT of tasks on the activity window?

Discussion created by JGi604607 on Feb 9, 2017
Latest reply on Feb 14, 2017 by Wolfgang_Brueckler_1288
I have over a million tasks on the activity window that I need to cancel. Is there a script that I can run to cancel these tasks?