[jboss-user] [jBPM Users] - Re: [jBPM-3.2] - org.jbpm.graph.def.Node Classs

mike_burton do-not-reply at jboss.com
Thu Nov 19 12:20:12 EST 2009


Thanks for your reply

I am not sure how to get ProcessDefinition (like from which class etc..). But i am able to get the deployments by using the below code.

String lDeploymentID = lRepositoryService.createDeployment().setName(workflowname).addResourceFromString("xmlstring.jpdl.xml", lWorkflowXML).deploy();
List deployments = RepositoryService.createDeploymentQuery().deploymentDbid(Long.parseLong(lDeploymentID)).list();

Is this the correct way to get the specific deployment from db?
Also how can i get the ProcessDefinition object once deploy the xml string?




View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266610#4266610

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266610



More information about the jboss-user mailing list