How to get BpmEngine belong to a Process Model Version
Hi all,
in module A, I have a function that return a BpmEngine as:
IBpmEngine engine = DiCore.getGlobalInjector().getInstance(IBpmEngine.class);
With this line of code i get instance which belong to module A somehow.
Now i also want to get IBpmEngine from other related modules (example: my module A depend on module B).
I check the code then see each BpmEngine has a different id, combine between project model name and project model version: (class `ch.ivyteam.ivy.bpm.engine.internal.BpmEngine`)
this.id = "BPM engine " + this.getProcessModelVersion().getApplication().getName()
+ "/" + this.getProcessModelVersion().getVersionName();
Is there anyway to get BpmEngine of other related modules?
P/S: somehoe somehow this question is related to this [post][1] where i want to register listener for other module.
[1]: http://answers.axonivy.com/questions/2244/can-we-monitor-ivy-process-programmatically