Sql to count number of processes using different process definition versions?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2016 01:29 PM
Since updating the process definition means that we have to be really careful when updating Java code and Camel routes, it would help to know how many running processes are using old process definitions. E.g. when can we dump the code the new one doesn't use anymore.
We cannot use Activiti explorer in production, so has anyone already written sql to get that kind of information from the database?
We cannot use Activiti explorer in production, so has anyone already written sql to get that kind of information from the database?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2016 04:54 AM
The ProcessInstanceQuery can give you exactly that information.
