i created the processinstances with the newprocessinstancecommand.
but the root token is null. is this correct?
Process defintion is
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="ad-hoc"> <start-state name="Start"> <transition to="in Bearbeitung" name="beginnen"></transition> </start-state> <state name="in Bearbeitung"> <transition to="Ende" name="beenden"></transition> <transition to="in Bearbeitung" name="weiterleiten"></transition> </state> <end-state name="Ende"></end-state> </process-definition>
after creating your process, I think you need to actually 'start' it with a signal call
ProcessInstance processInstance = < your newly created processInstance >
at least, that's what I would try ;)
Hope this helps.
no, reason was lazy hibernate.
implementing my own command solved my problem.