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.
Is it possible to make the ids generated by the DB trully unique? I mean, using UUID, not just incrementing the value.