Please read the modeler docs on how to build an enhanced choreography model. The resulting process model can executed in the platform by following these steps:
- Make sure that for every
message
element,id
andname
match and are unique. This can be already ensured when modeling the process. - Ensure that message
id
andname
match across process boundaries. For exaple, if you develop two process models implementing different participants of the same conversation, the representations of the same message have to be consistent.
- If you use a global data model with correlation properties that are not mapped in the schemamapping, this results in invalid
CorrelationProperty
elements in the XML
When deploying to the Tomcat distro, please follow the camunda docs on how to build a Process Application or look at an application from our demo use case, like the travel agency application. There is no additional deployment configuration neccessary when using a platform-shared process engine.
See SqlDerivation on how to test a process without message exchanges properly. We have added facilities to automatically setup the database before a test case and make assertions against it throughout the process. To inspect the database, a MyBatis mapping for the data object tables is required. See an example mapping for the afore-mentioned test.
See TravelAgencyTest for a test case that tests the local process of the travely agency including message exchanges. To mock a BPMNData endpoint, we use the WireMock library.