I need to check which camunda version is used in an extension. camunda-bpm-assert does this by “marker classes” (assume you are on at least 7.4 if you find a decisionService). But I think there was some easier, native approach that I am missing …
Try this
Package aPackage = ProcessEngine.class.getPackage();
String implementationVersion = aPackage.getImplementationVersion();
String implementationVendor = aPackage.getImplementationVendor();
Cheers,
Christian
1 Like