How to add dependency for the conncetor plugin


I have installed Camunda and run it on my local. I want to deploy a flow using a connector but getting this error:

  • One of the attributes ‘class’, ‘delegateExpression’, ‘type’, or ‘expression’ is mandatory on serviceTask.

I understand that I need to add a dependency for the connector plugin, but I do not know how to do this?

Any guidance will be appreciated.

Thank you


Hey Phillana! :slight_smile:

First of all let me clarify whether you have configured your service task as shown in my picture below:
Once you have selected this type of implementation you need to configure the Connector like shown below:

As you have mentioned correctly - You would need to import some dependencies in order to do so.
Let me know which Camunda Distribution you are using.
An example for Java can be found right here:


Thank you Thomas
I have not been able to find the files I need to update. For example —> I don’t know where to find the POM.xml file?