I'm using a serviceTask to make some rules in my process. The problem is that I'm trying to do a query on my database (hibernate), I realized that when my serviceTask starts, the activiti opens a transaction and only closes when it is finalized. I wanted to enjoy the transaction already opened to make the query.