And I need to get all process instances of process by process id and business key.
In my service I injected BprocHistoricService
and when
bprocHistoricService.createHistoricProcessInstanceDataQuery().processDefinitionKey(processId).processInstanceBusinessKey(businesskey).count()
there is error
But does it fail? Does the application stop working after that line? Are there any errors in the app.log? Can you reach the next line of code while debugging?
You screenshot tells that “Evaluate expression” dialog tries invoke the toString() of the Proxy object and this “toString()” invocation fails.
When test I run service method from test and its fails.
When I run app and invoked this method from Service Task of process now process run as expected. I received number of process instances.
I think problem with MainTestContainer init. How I can solve this problem?