Thanks for all your help. The code worked for me.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266801#4266801
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266801
___
jboss
| String deploymentId =
repositoryService.createDeployment().addResourceFromString("xmlstring.jpdl.xml",
workFlowXml).deploy();
| //now we query the process definition
| ProcessDefinition processDefinition =
repositoryService.createProcessDefinitionQuery().deploymentId(deploymentId).uniqu
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",
lWorkflow
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 D
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 :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266
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.
On
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 j
What are you trying to achieve?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265422#4265422
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265422
___
jboss-user mailing list
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