Issue with getting started tutorial

1
0
-1

I follow the getting started tutorial, but when I create an email connector and test it, I get the following error:

java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: Groovy script throws an exception of type class org.bonitasoft.engine.identity.UserNotFoundException with message = The technical user is not a usable user

Expression : SExpressionImpl [name=to(), content=BonitaUsers.getUserProfessionalContactInfo(apiAccessor,taskAssigneeId).email, returnType=java.lang.String, dependencies=[SExpressionImpl [name=apiAccessor, content=apiAccessor, returnType=org.bonitasoft.engine.api.APIAccessor, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_ENGINE_CONSTANT]], SExpressionImpl [name=taskAssigneeId, content=taskAssigneeId, returnType=java.lang.Long, dependencies=[], expressionKind=ExpressionKind [interpreter=NONE, type=TYPE_ENGINE_CONSTANT]]], expressionKind=ExpressionKind [interpreter=GROOVY, type=TYPE_READ_ONLY_SCRIPT]]

2 answers

1
0
-1
This one is the BEST answer!

Everything works, when I recreated the tutorial

1
0
-1

It looks like the `taskAssigneeId` is not a valid user id. Are you sure the connector is defined at the proper place ? It should be in Connectors in section of a Task (not the Pool).

Notifications