If we start a process instance with an AdhocSubProcess that contains some UserTasks, we can successfully start them and view them in the consoles, but if we try to complete them using the Task Form in Task Inbox, the tasks never appear as Complete. Apparently Data Index isn't getting any Task related event, keeping the data outated.
It seems that the HumanTaskWorkItemDecoratorImpl cannot obtain the KogitoProcessEventSupport because the KieRuntime inside the Node's ProcessInstance is null, so it cannot fire any event.
This Issue has been found after testing
AdhocSubProcesses
https://github.com/apache/incubator-kie-issues/issues/1286 with the consoles.If we start a process instance with an
AdhocSubProcess
that contains some UserTasks, we can successfully start them and view them in the consoles, but if we try to complete them using the Task Form in Task Inbox, the tasks never appear as Complete. Apparently Data Index isn't getting any Task related event, keeping the data outated.It seems that the
HumanTaskWorkItemDecoratorImpl
cannot obtain theKogitoProcessEventSupport
because theKieRuntime
inside the Node's ProcessInstance is null, so it cannot fire any event.