This removes all the ProcessInstances of the active ProcessTemplate of this application.
When an Application is removed, the current ProcessTemplate is removed. If the current ProcessTemplate installation has resulted in internally deprecating older versions (ProcessTemplates) of the same Application, then they are not automatically made active.