I see, well it should persist by the time the main thread exits the executeWorkItem method, it is then when the transaction commits.
Have you tried to check the database while the 2nd loop was running or by using a breakpoint to hold the execution?
Reply to this message by going to Community
Start a new discussion in jBPM at Community