MongoDB connector

hi everyone ,
I have problems when using BonitaBPM and MongoDB connector. I have used the following article to link between Bonita and MongoDB : http://community.bonitasoft.com/mongo-db-connector

I have followed all the steps. But, I had some problems. The connexion between MongoDB and BonitaBPM is done. All the documents could be added or deleted or updated. The problem is that I didn’t got the results shown in the Bonita BPM form. The results are shown only when I create a Business process that includes only read tasks, as presented :
read tasks

The results are shown below:
result read tasks show read tasks

But, when for example adding the delete task, I got this result when executing the process
delete task
result delete task

thanks in advance

1 Like

OK,

so logically it is the delete task that is causing the error.

Here is my suggested approach.

  1. REMOVE the Connector in the delete task and run again, it should work
  2. Add the Connector back to the delete taskand run again, it probably won’t work

There you go it’s your connector, it’s failing…

Have you looked at the logs? What do they say? Have you added any debug code to the Connector to see what is happening?

Also have a look at this post (also includes debug code) as it works fine:

http://community.bonitasoft.com/node/25494#node-25499

regards