Based on the user forums and our experience consulting with customers around the world, this section covers the frequently asked questions that newcomers have when they start working with persistent sessions and transactional resources. Notice that neither these sections nor this chapter are intended to explain the basic concepts behind transactional mechanisms (local/global transactions, distributed transactions, and two-phase commits) and persistence mechanisms such as JPA/hibernate. Drools & jBPM5 rely on these concepts to work; so if you don't want to get caught in a situation where you don't understand what is happening, I strongly recommend you to read about them to gain confidence.
Can I control when my process instances are persisted?
As this chapter described, jBPM5 already comes with an out of the box persistence mechanism that we must configure if we want to use it. Persisting a process instance (and all its variables) at an arbitrary point in time...