Insert Into DB failing

Hi,

I have a form and I want to insert its contents to a table in a db - Teradata. And deploy this on portal using a custom page.I did it by 2 ways and getting stuck as below

  1. My process works fine if I have a human task in between start - end and connector out in task (as Teradata connection.) This process works if I run through studio But in this case I am not able to run this in an App. It does not have an instantiation form.

  2. Second try was- Start - End. My form is present as an instantiation form. But in this case it is not inserting into DB when I run through studio. I have added connector as connector out in the pool. Can someone please help here?

In both the cases I have my variables as process variables.

Thanks,
Neha

in 2, use a service task with a connector to write the data…

so InstanForm->Start->ServiceTask->End

regards
Seán

Yep. Then it gives me error

Error: { “exception”: “class org.bonitasoft.engine.bpm.flownode.UserTaskNotFoundException”, “message”: “USERNAME=walter.bates | Activity instance with id 6286927123273407751 not found” }

My InstanForm submit button has Submit task Action.

It’s looking for a User Task (Human), called “message”?

Also what version of Bonitasoft are you using?

Take it back a step (remove the service task) does it still work (ignore the writing of data for now)?

Add a service task (that does nothing). try again.

Try a simple script,

Try updating the database…

Seán