When I do debugging (or) add timers after workitems the entries are created & then deleted from database, but, when I run it without debug (or) timers entry for second workitem is not made. To confirm it, I changed jpapersistencecontext class and commented out remove(WorkItemInfo) method. After the commented out remove method, with timers I see 2 workitems and without timer I see only 1 workitem.