Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Sample process application for extended-serialization

This is a process application to show the serialization of a process variable built from a complex java object.

See the ComplexDataObject for the attributes of the process variable.

In the example process, the object is stored in a variable on the first service task by calling a expression on a named bean:

<bpmn2:serviceTask id="ServiceTask_1" camunda:expression="${complexObjectCreator.create()}" camunda:resultVariable="complexValue" name="Create Complex Object">
</bpmn2:serviceTask>    

This object creation can be mocked in a JUnit test as you can find here

This project has been generated by the Maven archetype camunda-archetype-ejb-war-7.2.1.

Show me the important parts!

BPMN Process

How does it work?

How to use it?

There is no web interface to access the application. To get started refer to the InMemoryH2Test.

There is also an ArquillianTest, which by default connects to a Camunda BPM platform running locally on a JBoss AS 7. You can download a Camunda BPM distribution for JBoss from the Camunda BPM download page.

You can also use ant to build and deploy the example to an application server. For that to work you need to copy the file build.properties.example to build.properties and configure the path to your application server inside it. Alternatively, you can also copy it to ${user.home}/.camunda/build.properties to have a central configuration that works with all projects generated by the Camunda BPM Maven Archetypes.

Once you deployed the application you can run it using Camunda Tasklist and inspect it using Camunda Cockpit.

Environment Restrictions

Built and tested against Camunda BPM version 7.2.0.

Known Limitations

Improvements Backlog

License

Apache License, Version 2.0.