[jboss-user] [jBPM Users] - Re: Process Definition gets deleted while starting new proce
Never mind I found the solution. Need to remove the following line from your jbpm.hibernate.cfg.xml create-drop View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270077#4270077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process definition
XML is parsed with an XML parser... Those are in the JDK so I have no clue what you mean... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270061#4270061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process Definition - Versioning (jBPM4)
the documentation: http://www.jboss.org/jbossjbpm/jbpm_documentation/ how to ask questions: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260369#4260369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: process definition image
The console is smart enough to check the package names of the process XML/ process image, which allows for multiple processes/images in one .bar. The g attribute is only storing the x, y of the activity. So you still need the image to 'draw' for example the current activity on that image, using the x,y from the g attribute. Ofc, another approach could be that the process is reconstructed using the g attribute only (which is exactly what happens when you use Signavio and the GPD), but we haven't followed that path yet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252989#4252989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: process definition image
Is the "g" attribute in the jpdl file the graphical information? If so why would I need to deploy the png file in my deployment? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252917#4252917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: process definition image
So I would then deploy the jpdl separate from the png? Is there a way to keep track of which image goes with which jpdl? How do the .bar files work? I was under the impression that I could include the jpdl and png in a bar and deploy that. Thanks Jim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252853#4252853 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: process definition image
Yes it does. Just add the process image to your deployment: deployment.addResourceFromClasspath(path/to/your/process/image.png The console will now display the image + the current activity the process is in. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252833#4252833 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process definition xml
@Gert: this is an interesting suggestion, the mapping could be provided by the framework itself. Can you file an issue in Jira exactly describing what would be the easiest solution for you, so we can discuss/plan it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252826#4252826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process definition xml
Unfortunately (afaik) you cannot do a 'ls/dir' on it. But what you *could* do is store an additional file in there where you do some kind of mapping? (me: just having wild thoughts) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252583#4252583 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process definition xml
Ronald thanks a lot. You helped me out here. The following does the trick: | ExecutionService executionService = PE.getExecutionService(); | RepositoryService repositoryService = PE.getRepositoryService(); | //Find the process instance. | ProcessInstance processInstance = executionService.findProcessInstanceById(processInstanceById); | String processDefinitionId = processInstance.getProcessDefinitionId(); | //Find the processDefinition. | ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery().processDefinitionId(processDefinitionId).uniqueResult(); | //long deploymentId = Long.parseLong(processDefinition.getDeploymentId()); | //DeploymentImpl deployment = (DeploymentImpl)repositoryService.createDeploymentQuery().deploymentDbid(deploymentId).uniqueResult(); | InputStream in = repositoryService.getResourceAsStream(processDefinition.getDeploymentId(), "xmlstring.jpdl.xml"); | if (in != null){ | return in.toString(); | } else { | return null; | } but this created a new problem, currently the second parameter (xmlstring.jpdl.xml) is hard-code. I can't find a way to query this resource name. Can you help me out? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252541#4252541 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process definition xml
in 4? Yes, look e.g. at the sourcecode of the form integration module. It retrieves the .ftl files from the deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252428#4252428 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user