BDM CRUD API

1
0
-1

Hi,

I've been trying to make an app for managing data for a BDM (a simple CRUD), but, I can't make actions as delete or uptate. How can I do this with the rest API?.

I've been searching this on the documentation but I did not find it.

Thanks in advance.

Comments

Submitted by Sean McP on Mon, 07/06/2015 - 19:24

I've also been looking for this, interested in what you've done and how to fix this. Very important for nearly all processes...

regards Seán

Submitted by Rallegre on Mon, 07/13/2015 - 15:05

Hello Sean, dbravo,

can you give us your use cases and explain why you would prefer to use the REST API for CRUD operations instead of Bonita processes to do this? Thx Raphael

2 answers

1
0
-1
This one is the BEST answer!

Hello dbravo,

REST API only provides read only actions. To update/delete/create a data you must/should use a process.

This is how we want the users to handle their data. We are a BPM solution thus we think that data changes should be tracked inside a process.

However, the business data model is stored in a dedicated data source. So up to you if you really need to makes update to use access this data source as you want (connector, jdbc... and so on). But I do not recommend it at all.

1
0
-1

But bonita provide the REST API so bonita know what changes are done.

I don't understand in what situation the bpm engine would need to be noticed of changes anyway.

Notifications