As far as I remember, jbpm will relay on database id strategy. So, when a new session is created it is inmediately persisted and the db assigns an unique id to it. You should never have duplicated ids.
Best Regards
Reply to this message by going to Community
Start a new discussion in jBPM at Community