Email Connector

1
0
-1

Hello
I am using script to create message, I use contract input in it and it gives the following exception:

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: Unable to evaluate contract input without container id

Can you help me with that ?

Comments

Submitted by bastien.laurent... on Tue, 05/28/2019 - 16:20

Hi,

Can you give us the code script and connector's informations ?

Submitted by kalmakhelidze10... on Wed, 05/29/2019 - 09:23

String message
if (status == "sign") {
message = "Document has been signed by the manager"
} else {
message = "Document has not been signed by the manager"
}
return message
This is a script
Email should be sent after human task is done. Status is a contract of the human task

Submitted by bastien.laurent... on Wed, 05/29/2019 - 10:19

Are you sure that the connector error?
I think, you use, in your HumanTask, an input with the name : 'container id' or 'id', and you don't send it back on your form submit.

Submitted by kalmakhelidze10... on Wed, 05/29/2019 - 10:24

No, I am not using such inputs, its connector error
Thanks anyway

Submitted by kalmakhelidze10... on Wed, 05/29/2019 - 11:06

It was not working in test mode, but when I ran case it worked

Submitted by bastien.laurent... on Wed, 05/29/2019 - 14:24

Ok, that's very strange...

No answers yet.
Notifications