Hello everyone, thanks for your attention, I'm from china , I have been developing a workflow sofware using Activiti, there are many unused active progress during the test period, I want to implement a function to reset activiti or kill all active processes, But I don't find proper solution, so , are there some ideas
Maybe you could use RuntimeService: <code> /** * Delete an existing runtime process instance. * * @param processInstanceId * id of process instance to delete, cannot be null. * @param deleteReason * reason for deleting, can be null. * @throws ActivitiObjectNotFoundException * when no process instance is found with the given id. */ void deleteProcessInstance(String processInstanceId, String deleteReason); </code>