I am using seam with jBPM and I am trying to find out ways to move the processInstance from the start-state to the next state at the the time I invoke my @ createprocess
public void createProcess(){}
I know that it could be done using the processInstance.signal(),but what i observed is I wouldn't be able to access the processInstance variable from the context until the createProcess function completes execution.
Is there any way i could make it happen,like when i call the createProcess(),the processInstance is moved to the next state.
Thanks in advance.
no, sorry. not that I know of, at least not without changing the code in the seam annotation