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

2009-11-20 Thread mike_burton
Thanks for all your help. The code worked for me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266801#4266801 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266801 ___

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

2009-11-19 Thread mike_burton
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,

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

2009-11-19 Thread saraswati.santanu
| String deploymentId = repositoryService.createDeployment().addResourceFromString(xmlstring.jpdl.xml, workFlowXml).deploy(); | //now we query the process definition | ProcessDefinition processDefinition =

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

2009-11-18 Thread mike_burton
Thanks Santanu. I am able to deploy my xml using method deploy() in NewDeployment class. Is there any way to map this xml to ProcessDefinition class in jBPM 4.x. Thanks in advance for your valuable reply.. View the original post :

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

2009-11-18 Thread saraswati.santanu
ProcessDefinition has a deployment (refer to ProcessDefinition.getDeploymentId()). Deployment id is retrieved from process definition. Use DeploymentQuery to find the Deployment using the id. You can get the xml from this deployment. However the bad part is you have to type cast Deployment to

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

2009-11-13 Thread kukeltje
What are you trying to achieve? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4265422#4265422 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4265422 ___ jboss-user mailing list

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

2009-11-13 Thread mike_burton
I am trying to create the process definition xml file in jBPM 4.2 programatically and am able to create it using DOM4j. I guess we can achieve this in jBPM 3.2, using ProcessDefinition class by getting nodes, transitions etc.. Just i am curious to know is there same kind of classes availble in

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

2009-11-13 Thread saraswati.santanu
org.jbpm.jpdl.internal.xml.JpdlParser is the cental class which does the parsing. And there are binding classes which parse the individual nodes. For example, there is org.jbpm.jpdl.internal.activity.StartBinding for parsing start node. You will see the full list in jbpm.jpdl.bindings.xml.

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

2009-11-12 Thread saraswati.santanu
There is no such matching class in jbpm4. Maybe org.jbpm.pvm.internal.model.Activity (or org.jbpm.pvm.internal.model.ActivityImpl) and org.jbpm.api.activity.ActivityBehaviour combination can be thought of as a closer match, but no way they can be called the same. I believe Node is typically