failed test email connector

1
+1
-1

testing a mail connector in Bonita 6.2.2 I have this error:

java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.expression.exception.SInvalidExpressionException: Declared return type class java.lang.Long is not compatible with evaluated type class java.lang.Integer for expression processInstanceId

Is it a bug? How can I solve it?

Thanks

1 answer

1
-1
-1

Hello slisi

The processInstanceId is a Long type variable. You need to store it in a variable with the same type. Verify if you are trying store it into some variable with the type Integer, or the return type of your expression (below, in the expression editor).

Regards

Notifications