Hi Team,
I created spring boot(2.4.11-SNAPSHOT) project and I have used flowable-spring-boot-starter-rest dependency. Application successfully started. However flowable-spring-boot-starter-rest should provide access to all engine’s rest-apis but im unable to access.
application.properties:
server.servlet.contextPath=/flowableOS
I can access only below rest api:
http://localhost:8081/flowableOS/app-api/app-management/engine
when I try same with below URL
http://developer-docs.flowable.com/flowable-rest/service/history/historic-activity-instances?finished=false
as
http://localhost:8081/flowableOS/service/history/historic-activity-instances?finished=false
it throws 404 error.
Need help on this.
Regards,
Anoop KV
Hey @anoopkv89,
If you have a look at our spring-boot-example you will see that the exposed REST endpoints for Flowable are:
-
process-api
for the Process Engine
-
cmmn-api
for the CMMN Engine
-
dmn-api
for the DMN Engine
-
idm-api
for the IDM Engine
-
form-api
for the Form Engine
-
content-api
for the Content Engine
Cheers,
Filip
Thank you for the response.
However according to the flowable documentation, there are around 8 API’s. And in your answer as well as example I can see around 6. I’m unable to find for few of them like Event Registry API, External Worker API, APP API. Can you please help me here.
Documentation:
All Flowable products are built on top of the Flowable open source project. Swagger documentation is available for the following:
- BPMN API
- DMN API
- CMMN API
- Event Registry API
- External Worker API
- APP API
- Form API
- Content API
- Core API
Reference:
Hi @anoopkv89
In your usecase you have to call the different REST APIs as follows:
http://localhost:8081/flowableOS/app-api/<action>
http://localhost:8081/flowableOS/process-api/<action>
http://localhost:8081/flowableOS/cmmn-api/<action>
http://localhost:8081/flowableOS/dmn-api/<action>
http://localhost:8081/flowableOS/idm-api/<action>
http://localhost:8081/flowableOS/form-api/<action>
http://localhost:8081/flowableOS/content-api/<action>
http://localhost:8081/flowableOS/event-registry-api/<action>
http://localhost:8081/flowableOS/external-job-api/<action>
e.g. event-registry:
http://localhost:8081/flowableOS/event-registry-api/event-registry-repository/channel-definitions
Regards,
Simon
Thank you @amporsim . Let me give a try and come back here.