env.set( EnvironmentName.TRANSACTION_MANAGER,
ctx.getBean( "txManager" ) );
*/
KieStoreServices kstore = (KieStoreServices) ctx.getBean( "kstore1" );
KieBase kbase1 = (KieBase) ctx.getBean( "kbProcessWorkItems" );
service = kstore.loadKieSession( sessionId,
kbase1,
null,
env );
processInstance = service.getProcessInstance( processInstance.getId() );
assertNotNull( processInstance );