We are facing error 'Process instance XXX is disconnected' very frequently in our project and holding up the tasks operations.
We are using SynchronizedTaskService for task operation:
Code snippet are below:@
final RuntimeManager runtimeManager = RuntimeEngineFacory.getRuntimeManager();
final RuntimeEngine engine = runtimeManager.getRuntimeEngine(EmptyContext.get());
SynchronizedTaskService taskService = (SynchronizedTaskService) engine.GetTaskService();
It was raised in one of JBPM bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1161574
Please help if anyone has any clue.
mnmmm do you have an interface with the connection? maybe you can change to restBuilder, I've never had a problem with that option