{ “exception”: “class org.bonitasoft.engine.bpm.flownode.FlowNodeExecutionException”, “message”: “USERNAME=helen.kelly | org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException: org.bonitasoft.engine.core.operation.exception.SOperationExecutionException: org.bonitasoft.engine.expression.exception.SExpressionEvaluationException: FLOW_NODE_INSTANCE_ID=80008 | Declared return type class java.lang.String is not compatible with evaluated type class org.bonitasoft.engine.bpm.contract.FileInputValue for expression rmaInput.documentoDiTrasporto” }
I solved it by uninstalling and installing again.
Have you defined Document in your process? (Select Pool → Data → Documents).
In this definition you should choose to initiate this document from contract and select appropriate field from contract (with type “File”).
Best gerards,
bpms.help
i have done exactly what you said BUT i don’t want to show it at the instantiation form.
At UI designer - > formInput(json) i defined them null but still can’t submit the form.
This is what i get : { “exception”: “class org.bonitasoft.engine.exception.BonitaRuntimeException”, “message”: “USERNAME=jan.fisher | org.bonitasoft.engine.persistence.SRetryableException: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement” }
Sorry, but I’m not able to help you without source codes. I have exactly the same case in my process, but it works perfectly for me (version 7.3.1). Even when I tried I wasn’t able to recreate the exception that you got.
Best regards,
bpms.help