I was implementing a process based on
Email Integration for Processes - Camunda to send template based automated email. But it shows the following error when i implement a service task with a connecter in the diagram. :
Tests in error:
testParsingAndDeployment(email.email.ProcessUnitTest): ENGINE-09005 Could not parse BPMN process. Errors: (…)
I am unable to deploy the war file because of it. Based on what i have read, I can understand that the error has to do with the XML Diagram from my Modeler.
Hence i am sharing the xml file with you.
process.bpmn (3.6 KB)
Thank you in advance
Thanks for sharing the file, i was able to deploy that file without any problems, but you should be aware that your connector is not properly configured so it will cause an error after it starts.
@prateek_gulati for using BPM mail connector, make sure that required dependencies are in the classpath.
@Ingo_Richtsmeier after adding the camunda-engine-plugin-connect dependency also the issue persists.
dependencies added for mail-connectors are:
compile group: 'org.camunda.bpm', name: 'camunda-engine-plugin-connect', version: '7.11.0'
compile group: 'org.camunda.connect', name: 'camunda-connect-connectors-all', version: '1.2.2'
compile group: 'org.camunda.connect', name: 'camunda-connect-core', version: '1.2.2'
compile group: 'org.camunda.bpm.extension', name: 'camunda-bpm-mail-core', version…
And configure the plugin with process engine configuration.
@Ingo_Richtsmeier i’m not sure how you solved the above issue. When i woke up next day morning, i found an idea and it worked, solved in 2 mins
Here’s my solution to the problem. Not sure why i didn’t thought about the below configuration Finally i was able to deploy the process with connectors config in SendTask
List<ProcessEnginePlugin> processEnginePlugins = CollectionUtils
Thanks for the reply
Could you point out mistake i made while configuring the connector ?
I added all the dependencies in the pom.xml file, not sure what i am missing here, Do i need to add them separately as JARs?
@prateek_gulati what’s the exception? Did you configure the process engine plugin?
i am still getting the same error
@Niall pointed out that there’s an error in my connector, i am using the one which you posted on the forum earlier.
these are the dependencies that i have added
@prateek_gulati, Did you included the below dependencies? can you upload your pom.xml file?
compile group: 'org.camunda.bpm.extension', name: 'camunda-bpm-mail-core', version: '1.2.0'
compile group: 'com.sun.mail', name: 'javax.mail', version: '1.6.2'
Sure, here is the pom file. i have included those as well, thought i found that the version is different.
pom.xml (7.9 KB)
edit :logs of the test result. i hope it helps.
TEST-email.email.ProcessUnitTest.xml (44.3 KB)
email.email.ProcessUnitTest.txt (18.5 KB)