3 Replies Latest reply on Apr 11, 2008 3:32 PM by Cory Dahlstrom

    Seam + jBPM + Transactions

    Cory Dahlstrom Novice


      I have a question on how to get the jBPM engine to execute in the currently active CMT transaction.

      I have a simple scenario where a workflow instance is in a task node and a user triggers a transition out of that task node to a decision state (this is done in a SSB in the invoke application phase).  What is happening is the decision state handler throws an unchecked exception, effectively rolling back the transaction.

      However, what I'm seeing is the task node in which the user transitioned from has now been ended, basically stopping the workflow.  I would have expected (and need) the workflow be in the same state as we started with.

      This leads me to believe the jBPM engine is not honoring the currently active transaction.

      Thanks much,