Task Never Done

Hello,

I am trying to create a simple task where I input data in a form and send to a DB. The problem is when I fill the task with my data in "my tasks" it says form submitted but it doesn't appear in "done tasks" and it doesn't update in the h2 console.

I thinks it is because when I try to evaluate a script the script it gives me the error "for each data below a value is needed in order to evaluate groovy script.". I don't know what this means help please.

Thanks in advance

Hello Siteo,

In order to answer your question, can you please tell me which version of Bonita you are using and show me your engine log ? Which is in Bonita Studio > Help > Engine log. It would be great if you could share the script you used too.
Also, Can you tell me the process you used to link the form with the DB? Did you use a contract? 

Thanks,
Soham

Bonita version: BonitaSudioCommunity-2021.2-u0.

 

The engine log is here: https://docs.google.com/document/d/1v3lolw-sv_ZjAV20nPn9mvKSZqkaWFf8jWLiRBJsv9U/edit?usp=sharing

 

The Script is: informeInput?.gastoComida   

informeInput is a contract that I created by using the add from data option.

Not sure about this but I think it linked automatically when I created the form