12-15-2010 06:59 AM
ProcessEngineImpl engine = (ProcessEngineImpl) ProcessEngines.getDefaultProcessEngine();
for accesing to the current runtimeService of the test but it creates a new engine. I think that it is due to the fact that I'm using an in-memory database so it creates a new database in other memory location.12-15-2010 08:58 AM
12-16-2010 02:40 AM
Don't change process flow with code, use only process variables.
Access to parent variables within a sub-process with code.
12-17-2010 09:02 AM
CommandContext
.getCurrentSession(RuntimeSession.class)
.findVariableInstancesByExecutionId(parentExecutionId);
or
CommandContext
.getCurrentSession(RuntimeSession.class)
.findExecutionById(parentExecutionId);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.