Engine API or REST API?

1
+2
-1

Hello.

I'm new in development with Bonita BPM. I'm creating a test app using Spring Boot and I want to connect it to Bonita BPM.
My cuestion is if the Engine API has the same methods as the REST API. If this it's true, I can use the Engine API in the code in a simplier and faster way than using the REST API.

1 answer

1
+2
-1

Hello raulvadillo_1372335,

The Engine and REST APIs are not equivalent: the Engine API (Java) exposes more than the REST API does.

If you use SpringBoot or whatever Java program, it is recommended to use the Engine API. The REST API becomes useful when the client is written is a language that is different than Java. In case you did not have the chance to look at it yet, I add the links to the documentation for each API option:
- Engine API
- REST API

HIH,

Comments

Submitted by raulvadillo_1372335 on Fri, 06/15/2018 - 08:24

Hi pierrick.voulet, thanks for your answer. I had the wrong idea because it seems that the documentation of REST API is more complete than the Engine API one.

Submitted by pierrick.voulet on Fri, 06/15/2018 - 14:40

May be the Javadoc available here will be helpful to you. The most important part is the XxxxAPI interfaces like ProcessAPI or IdentityAPI for examples. You have an exhaustive list of them in the documentation link I provided you in my answer.

Submitted by nampham97se_1390962 on Thu, 02/21/2019 - 02:22

Hello, i have a question with spring boot. Is i can use a form in spring boot project (tomcat A port 8888) and submit it to bonita manage (tomcat B port 8080)?

Submitted by antoine.mottier on Thu, 02/28/2019 - 11:30

Yes you can submit data from an external form to Bonita using REST API. See the bpm-api documentation "Execute a task with contract" API call.

Submitted by nampham97se_1390962 on Fri, 03/01/2019 - 03:05

Thanks sir, I using Engine API on Spring boot and using execute, assign, deploy wf with contract is good. Now i want to more advanced like integrated CAS, dynamic input contract in code backend Sping, etc... You have infomation contract like email or facebook? We can communication easy than and help more :).

Submitted by antoine.mottier on Wed, 03/20/2019 - 18:08

Hi,

I only provide help on the community forum sorry. About CAS support, this is a feature only available in Bonita Enterprise Edition (see documentation). If you need more help you might be interested in Bonitasoft professional service or training.

Submitted by nampham97se_1390962 on Thu, 03/21/2019 - 04:57

You can help me this issues i have post in forum:
Issues

I cant retrieve BDM value in archived case ( complete task). I try much example and all incorrect. With open task it fine and work as well.
Thanks.

Notifications