[jBPM Users] - jBPM 4.1 - sub tasks
by Thomas.Kriechbaum
We have been experimenting with sub tasks for a while (parent child relation is set up within a custom activity).
What is the planned/expected behavior of certain lifecycle events (e.g. complete parent task)?
Currently, the CompleteTaskCmd firstly calls task.complete (in this case, a history event for this task is fired too). Afterwards, the task is deleted using the DB session (according to the hibernate mapping, all sub tasks are deleted too; cascade="all-delete-orphan").
What is the recommend way to extend this behavior (e.g. fire history events for all sub tasks)? One solution might be to implement a custom command (requires to implement a custom TaskServiceImpl as well).
Thanks,
Thomas
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256433#4256433
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256433
16 years, 6 months
[jBPM Users] - JBPM4 (with Spring beans) deployment into JBOSS
by krajesh_7
Had referred the JBPM UserGuide/DevGuide and write a workflow application using JBPM4 and Spring (for workflow action classes).
This application works in a standalone manner. Now I wanted to deploy the JBPM4 workflow application into JBOSS.
The Dev Guide had given some information about running a script to setup the standard jboss-jbpm integraion.
But I would like to know how the various configuration files of JBPM are configured for Spring integration when deployed into JBOSS.
Also, how the bean definitions for the jpdl application are to be configured in the deployment environment?
If the JBPM is deployed separately into JBOSS during startup, and at runtime many other workflows can be deployed (bar files). How will the JBPM's SpringConfiguration class that is used as loading the spring beans for the action class will load them succcessfully. Are all these beans stored in the same application context?
Kindly inform me about how to configure the files for the JBPM4 workflow (with Spring for workflow actions) deployment into JBOSS.
Thanks,
Rajesh.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256376#4256376
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256376
16 years, 6 months