Another user asked almost the same thing not that long ago in this thread
History probably won’t help you in this, since you are looking for active processes.
You need to run a query to find all active processes, figure out which ones have been running for too long, and then send a request to cancel each one.
The best bet (to me) would be to modify each of your processes to have a wrapper on it that has a “Maximum Run Timer” (interrupting Timer event connected to a Terminate End), and then migrate all your open processes to the new version. That would leave your ended processes in your system to review afterwards.
Short answer: There is no out-of-the-box way to do what you want to do.