0 Replies Latest reply on Mar 9, 2010 7:44 AM by prasad basutkar

    How to deploy gpd.xml file along with processdefinition.xml.

    prasad basutkar Newbie

      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.