Thanks.
I can avoid using tasks without JTA transactions in some cases, but not always.
Eg. after start the process moves to first node -> it goes to my WorkItemHandler where I want to handle task (create new task .addTask()).
This is still done within userTransaction.begin() and userTransaction.end() and ends with exception
You cannot commit during a managed transaction!
If you can give me another hint, it would be great.
marie