hello there, i am currently doing a school project,but i have encounter a problem:
i am trying to model a collaboration model, i want to ask is it possible to make the service tasks in different pools to communicate with each other. cause i saw some papers said that it is impossible for two pool communicate with each other when deploy in camunda engine
For communication that crosses the boundaries of your process’ pool, you need to use message flows . To account for additional complexity, communication with message flows needs to be defined more explicitly than intra-pool sequence flow communication. Therefore, BPMN uses events. Each incoming message is received by a catching event — the organization waits for the corresponding incoming message.
The delivery address for the package is provided from the order website. Later, you confirm the arrival of the package by sending a message back to the website. Interaction is not limited to activities, but also occurs between pools! The message flows have these little circles on their tail — that’s where you plug them on the activities (or events) to signalize an outgoing message. Because the different lanes are part of your organizational context, you don’t have any kind of message flows occurring within them — use sequence flows instead.
You cannot have sequence flow that traverses pool boundary. To represent details of collaboration (i.e. how do they exchange messages) between participants you should use Message Flows. Those are arrows drawn with dashed line.
Message Flows are only allowed between the pools. You cannot have message flow inside a pool.
Hello @Ingo_Richtsmeier,
Following steps to run the project, I get this error. I’ve tried to solve the issue, but it didn’t.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.191 s
[INFO] Finished at: 2021-04-13T08:33:45Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) on project orderFulfiller: An exception occurred while running. null: InvocationTargetException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat: Error creating bean with name ‘org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration’: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.jersey.JerseyAutoConfiguration$$EnhancerBySpringCGLIB$$934e0685]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘resourceConfigCustomizer’ defined in class path resource [org/springframework/boot/autoconfigure/jersey/JerseyAutoConfiguration$JacksonResourceConfigCustomizer.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.jersey.ResourceConfigCustomizer]: Factory method ‘resourceConfigCustomizer’ threw exception; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement: javax.xml.bind.annotation.XmlElement → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
if you like you can update the project to the latest Camunda version (7.15 will be released today) together with the matching Spring-Boot version (Spring Boot Version Compatibility | docs.camunda.org) and create a pull request.