[jboss-user] [jBPM] New message: "How to deploy gpd.xml file along with processdefinition.xml."

prasad basutkar do-not-reply at jboss.com
Tue Mar 9 07:44:43 EST 2010


User development,

A new message was posted in the thread "How to deploy gpd.xml file along with processdefinition.xml.":

http://community.jboss.org/message/530757#530757

Author  : prasad basutkar
Profile : http://community.jboss.org/people/peterbasutkar@gmail.com

Message:
--------------------------------------------------------------
Hi All
 
Requirement : i am using jbpm 3.2.6 and i want deploy processdefinition with processdefinition.xml and gpd.xml files
 
Description : i want to deploy processdefinition.xml as well as gpd.xml file while deploying processdefinition.i am using following code to deploy processdefinition.
 
 
void deployProcess() {
            try {
                processDefinition = ProcessDefinition.parseXmlInputStream(new FileInputStream("processdefinition.xml"));
            } catch (Exception e) {
                e.printStackTrace();
            }
            jbpmContext.deployProcessDefinition(processDefinition);
    }
 
i also want to save this processdefinition entry to database after deployment, is there any way to deploy gpd.xml along processdefinition.xml file while deploying processDefinition.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/530757#530757




More information about the jboss-user mailing list