Insert Into DB failing

1
0
-1

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

Comments

Submitted by Sean McP on Tue, 02/02/2016 - 03:55

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

so InstanForm->Start->ServiceTask->End

regards
Seán

Submitted by neha.potdar on Tue, 02/02/2016 - 04:00

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.

Submitted by Sean McP on Tue, 02/02/2016 - 06:13

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

No answers yet.
Notifications