Community

jBPM 4.3 starting a sub-process after a state node will fail

reply from Maciej Swiderski in jBPM - View the full discussion

hi,

 

I did run your use case and it worked. Only thing is that I created Subprocess since it was not included in the zip file.

 

1. WfeUtility -deploy SubZzA.jpdl.xml (this should return deployment id to have a reference in case of need for clean up)

2. WfeUtility -deploy SubProcTasks.jpdl.xml (this should return deployment id  to have a reference in case of need for clean up)

3. WfeUtility -start SimSubProc - this should return process instance id

------ so now we have process started and it is in check_id node

4. WfeUtility -signal PROC_INST_ID returned by step 3 - this should return process instance id after signal

--------- now we are in sub process state1 - here is my simple sub process with just one state within it

5. WfeUtility -signal SUBPROCESS_INST_ID - had to look it up in db

---- now we left sub process and went to state ok

WfeUtility -signal PROC_INS_ID returned by step 4

----- process is finished

 

Attached is complete set of files of process definitions

 

Cheers,

Maciej

Reply to this message by going to Community

Start a new discussion in jBPM at Community