-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
3
-
NEW
-
NEW
-
2019 Week 17-19, 2019 Week 20-22
On a second thought: Although accessing kruntime was incorrect (that is staying around only for legacy reasons), LightProcessRuntimeContext is not the correct place where to get that WorkItemManager instance; that's actually in the LightProcessRuntimeServiceProvider, which is a perfectly good place to get it from.
Previous title: LightProcessRuntimeContext should return a non-null WorkItemManager instance
we should not user knowledgeRuntime here:
https://github.com/kiegroup/submarine-runtimes/blob/dc2695935d4707a2a37d872303f425dc1907e223/jbpm/jbpm-flow/src/main/java/org/jbpm/process/instance/LightProcessRuntime.java#L454
but rather use ProcessRuntimeContext.getWorkItemManager()