# Task Never Done

**URL:** <https://community.ofelia.com/t/task-never-done/11034>\
**Category:** Q&A\
**Created:** [6 December 2021 12:29 UTC](https://community.ofelia.com/t/task-never-done/11034 "2021-12-06T12:29:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![siteo](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@siteo](https://community.ofelia.com/u/siteo)\
**Post date:** [6 December 2021 12:29 UTC](https://community.ofelia.com/t/task-never-done/11034/1 "2021-12-06T12:29:46Z")

</div>

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&nbsp;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

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [7 December 2021 15:10 UTC](https://community.ofelia.com/t/task-never-done/11034/2 "2021-12-07T15:10:24Z")

</div>

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 ?&nbsp;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?&nbsp;  
  
Thanks,  
Soham

---

<div class="post-metadata">

**Author:** ![siteo](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@siteo](https://community.ofelia.com/u/siteo)\
**Post date:** [8 December 2021 09:45 UTC](https://community.ofelia.com/t/task-never-done/11034/3 "2021-12-08T09:45:37Z")

</div>

Bonita version: BonitaSudioCommunity-2021.2-u0.

&nbsp;

The engine log is here:&nbsp;https://docs.google.com/document/d/1v3lolw-sv\_ZjAV20nPn9mvKSZqkaWFf8jWLiRBJsv9U/edit?usp=sharing

&nbsp;

The Script is:&nbsp;informeInput?.gastoComida&nbsp; &nbsp;

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

&nbsp;

&nbsp;

&nbsp;
