I’m beginner to Camunda. I wanna use send tasks to send emails using camunda-bpm-mail
When I’m trying to deploy the process to the engine, I got this error “One of the attributes ‘class’, ‘delegateExpression’, ‘type’, or ‘expression’ is mandatory on sendTask”.
Any help, thank you
You should upload your model so that we have some context as to what could be causing the error
@HEss refer this post for similar issue was discussed and resolved.
Also, make sure that you’ve the below plugin in pom.xml:
<dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-engine-plugin-connect</artifactId> </dependency>
This plugin contains the piece of code to parse the connector extension of the bpmn file.
Thank you @aravindhrs for your reply, actually I’ve already checked your post, and I want to ask you something
- Is this example implemented by Spring boot or just a Maven project.
- Have you attached this configuration class to implementation details of each sendTask.
Yes, it’s spring boot application.
Not required to attach at each send task level. The plugin takes care of it while parsing the activity.