[JBoss jBPM] - Suitability of jBPM workflow for my application
by sraghunandan
Dear All,
I'm designing a new application for deploying softwares to multiple systems.I need to support wizard like option where in the user can input his machine details and other software configurations.The wizard pages displayed to the user would vary based on the selections done by user in earlier pages.
I'm thinking of using workflow for this.I would configure a processdefinition.xml file containing all the flow paths user might choose while configuring. Based on the user selections, I need to create a new workflow at runtime which is basically a subset of the master processdefinition.xml. I need to save this new workflow created at runtime into a new xml(install_processdefinition.xml).Based on the number of machines the user wants to deploy the software,i would create so many forked process which would take care of progress tracking of installation of a remote machine.As the software is to be installed on remote machines, I would transfer these install_procesdefiniton.xml to those remote machines and execute the workflow there.I need to have fork/join as I need to do pre installation checks on all these machines before initiating the installation and then wait till the installation is finished on all the machines before post installation tasks are initiated.
My questions are:
1.Is jBPM and other workflows in general suitable for this application.
2.How can I write back the processdefinition.xml(i read the jpdlxmlwriter is deprecated)
3.Can each forked process/task load and execute a new different processdefinition.xml
4.How can the communication happen between the GUI and the workflow engine
5.Can the TaskInstance persist complex data.
Regards
Raghu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189659#4189659
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189659
17 years, 4 months
[JBoss jBPM] - Task Assignment Expression, Hibernate Parameter Error
by johnhurtchan
I'm using Oracle as my datasource and using jBPM in my own web application. I have the JBPM schema on Oracle with the JBPM_ID_GROUP table with 1 row for group 'DivisionHead'.
When jBPM tries to assign the task to "group(DivisionHead)" I get the below errors:
WARN QuerySplitter : no persistent classes found for query class: select g from org.jbpm.identity.Group as g where g.name = :groupName
WARN RequestProcessor : Unhandled Exception thrown: class org.jbpm.graph.def.DelegationException
14:53:06,580 ERROR [[action]] Servlet.service() for servlet action threw exception
java.lang.IllegalArgumentException: Parameter groupName does not exist as a named parameter in [select g from org.jbpm.identity.Group as g where g.name = :groupName]
at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:356)
Anyone know whats wrong and how to fix it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189542#4189542
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189542
17 years, 4 months