cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti BPMN 2.0 Eclipse Designer

user
Champ in-the-making
Champ in-the-making
Hello,

how do i start a process by using the Activiti BPMN 2.0 Eclipse Designer?

The plugins and the jars are installed at the PC.

Now i created a little process and I will run it.

And another question is:
How do I create forms and variables for tasks in the diagramm?

Can someone help me please?

Thanks!
7 REPLIES 7

trademak
Star Contributor
Star Contributor
Hi,

Note that the Activiti BPMN 2.0 Eclipse Designer is still an early access version.
We are working very hard to add some more interesting functionality, including a unit test for a process.
Currently you can design a process with the available pallette and right-click on the diagram and generate the BPMN 2.0 XML. Be aware that you have to refresh the project to see the generated file which has an extension of .model.
Currently you can't deploy or test this process file yet without you doing extra coding.
The creation of forms and variables is also not present yet, but a good suggestion for the beta and 1.0 release.

Best regards,

Tijs Rademakers

user
Champ in-the-making
Champ in-the-making
Hi,

i try the tutorial designer short tutorial
http://docs.codehaus.org/display/ACT/Designer+short+tutorial

but i can't create a xml file by right-click in the diagram.

i have import the bmpn20 xsd file in the preferences.

but what is missing?

i hope you can help me….

bye

user
Champ in-the-making
Champ in-the-making
i have it.

you have to add the groovy.jar to the project.

but i have another problem.

when i create the activiti-lib with the jars examples/activiti-engine-examples/libs-runtim and ../libs-test
and add the lib to the projekt. i can' t find the "generate process runner class" in the context menü.

whats wrong with my project?

bye

trademak
Star Contributor
Star Contributor
Hi,

Make sure you have the package explorer open and not the project explorer.
The "generate process runner class" currently only works when you are in the package explorer view.

Best regards,

Tijs

user
Champ in-the-making
Champ in-the-making
Thanks for this information…


Another question:
i would like to deploy the taskformtest.java
my tomcat and h2 runs.
but i can't run the java class as java application, only run as junit.

what is the reason for this?
or is the code to deploy missing in this class?

thanks for helping me.

bye

jcosano
Champ in-the-making
Champ in-the-making
You can have a main class and do this:

   
ProcessEngine processEngine = new ProcessEngineBuilder().configureFromPropertiesResource("activiti.properties").buildProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
       
DeploymentBuilder deployment = repositoryService.createDeployment();
deployment.addClasspathResource("xxxx.bpmn20.xml");
deployment.addClasspathResource("xxxx.form");
deployment.name(new Date());

deployment.deploy();
processEngine.close();

trademak
Star Contributor
Star Contributor
Note that if you want to deploy the process including forms and Java classes on a running Tomcat server, you'll have to create a bar file as described in the user guide. The designer will support the creation of a bar file in the next release. And we are currently looking at supporting the definition of forms also, but that's still in thoughts only.

Best regards,

Tijs