Created
December 1, 2015 19:25
-
-
Save sherl0cks/3073d904912195ca1e9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String deploymentId = (String) ctx.getData("deploymentId"); | |
RuntimeManager runtimeManager = RuntimeManagerRegistry.get().getManager(deploymentId); | |
if (runtimeManager == null) { | |
throw new IllegalStateException("There is no runtime manager for deployment " + deploymentId); | |
} | |
RuntimeEngine engine = runtimeManager.getRuntimeEngine(ProcessInstanceIdContext.get()); | |
KieSession ksession = engine.getKieSession(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment