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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to