JBoss Community

Re: How to associate a custom WorkItemNodeHandler in a subprocess?

created by Connie Yang in jBPM - View the full discussion

We are using this set of jars,

  • jbpm-bpmn2-5.2.0-20110520.193755-3.jar, jbpm-workitems-5.2.0-20110520.193835-3.jar, jbpm-flow-5.2.0-20110521.000210-4.jar, jbpm-flow-builder-5.2.0-20110520.193310-4.jar, jbpm-persistence-jpa-5.2.0-20110521.000506-4.jar, jbpm-bam-5.2.0-20110520.193540-4.jar

 

Is it not recommended to use the fluent API to start a parent process and then spawn a subprocess?  Another way to start a subprocess is via WorkItemNode, but it's unclear to me if the engine is okay with nesting a process inside a task.  I'm considering giving this a try.  Any thoughts on that?

 

Also, I have tried the XML BPMN2 prior to using the fluent API, but quickly learned there's a learning curve that I don't quite have the time for right now.

 

I'll try to come up with a sample test that illustrates the problem.

Reply to this message by going to Community

Start a new discussion in jBPM at Community