Integrate flowable into our own application

Hi, right now our company is doing a Office Automation (OS) application, we need to integrate a module of business process management. We are using the framework of Angular2. Can somebody provide some ideas how to integrate flowable into our project.

We tried to delegate the BPM back-end to flowable-rest which provides a lot of rest api. But it dose not support visually define and deploy process definition.

We also tried to use flowable-modeler to define and deploy process, but we can not use rest api to find these defined process. So I guess the flowable-modeler and flowable-rest are two separated application.

My email is ziwenzzw@gmail.com, so if anybody can provide some ideas or have the intention to corporate with us, please contact me.

1 Like

Hi,

flowable-modeler uses REST API from flowable-task app. If you want to use flowable-rest interface to deploy app, you can just export app from modeler (bar or zip) and deploy it by
http://www.flowable.org/docs/userguide/index.html#_deployment
REST call.

Regards
Martin

Thanks for your reply Martin. It really helps.

Regards,
Ziwen

Hi, Martin. I got another question. You mean the flowable-task has the similar set of rest apis with flowable-rest, that can communicate with the process engine? Is there some documents about flowable-task rest api?

Second question is I need to transfer the user data from our own application to the flowable-modeler/flowable-idm. So flowable-modeler can assign task to our own users. We cannot use flowable-rest to do this job, because they are two separate applications and use separate database.

Regards,
Ziwen

Hi Ziwen,

The Flowable Task application includes the full Flowable REST API, just like the Flowable REST application. So the REST documentation is valid for the Flowable Task application as well.

The Flowable IDM application is an example and easy to setup way for user and group management. You can also use LDAP out-of-the-box, and you can implement the IdentityService on top of your own identity tables / application.

Best regards,

Tijs

Thanks Tijs, I will try to use the rest api of flowable-task.

Regards,
Ziwen

Hi Tijs. the port for flowable-rest Rest Api is http://localhost:8080/flowable-rest/service, so the port for flowable-task Rest Api should be http://localhost:8080/flowable-task/service ? I’ve tried it, but it seems not work.

Regards,
Ziwen

Hi Ziwen,

The BPMN engine rest api is available on http://localhost:8080/flowable-task/process-api. And for example the DMN engine api is available on http://localhost:8080/flowable-task/dmn-api.

Best regards,

Tijs

Thank you so much, it works. This really helps me integrating flowable into our own project!

Regards,
Ziwen

@ziwenzhao - I am also trying out the same thing. Is there any lessons you can share with me. Appreciate your help on this.