The error is always the same, except for the instance #id that changes
Could not find workflow instance #159795: root cause: SQL Exception while executing the following:SELECT NAME, INITIALIZED, STATE FROM public.OS_WFENTRY WHERE ID=? (ERROR: current transaction is aborted, commands ignored until end of transaction block)
It seems that you have tried to perform an illegal workflow operation.
I make the query directly in database:
SELECT ID, NAME, INITIALIZED, STATE FROM public.OS_WFENTRY
where ID = 159795
(it works, it will load the workflow Name with the state 1)
Can anybody help?