Ready-made endpoints for BPM

Does jmix have ready-made endpoints for working with BPM? If not, how can I activate the endpoints that Flowable has for working with the business process engine?

Hello,

Jmix BPMN has several Rest API endpoints:

  • /rest/bpm/process-form-data
  • /rest/bpm/process - for Flowable servlet (process namespace)
  • /rest/bpm/dmn - for Flowable servlet (dmn namespace)

Let’s Flowable read documentation:

image

Lets test:

  1. Add to application.props this part:
    vaadin.exclude-urls=/rest/**
  2. And go to the url from flowable docs:
    Concate my host + process path namespace + flowable deployment path =>
    http://localhost:8080 + /rest/bpm/process + /repository/process-definitions
    http://localhost:8080/rest/bpm/process/repository/process-definitions
  3. Execute:
    image

Hi
i have the same question and this api endpoints is not found (404)

It needs the relevant dependencies to be added to build.gradle, which is not mentioned in the documentation as far as I can see…

implementation 'io.jmix.bpm:jmix-bpm-rest'
implementation 'io.jmix.bpm:jmix-bpm-rest-starter'
2 Likes

Hi, you right
Of course this is necessary dependency for flowable rest usage

We are thinking about updated documentation on bpmn add-on.

Hi Dmitry,

Is there a way to access the swagger documentation for the flowable endpoints, or the raw openapi.json file?

Hello,
There is no ready-made endpoint for Swagger inside Flowable (open-source edition) or Open API files.

But you can use tools like Swagger Inspector or Postman to automatically generate an OpenAPI specification by importing and inspecting the Flowable REST API endpoints.

Guys, please keep in mind that jmix-bpm-rest-starter is experimental functionality and it may be changed any time. That’s why there is no documentation and any mention of it in official documentation. We have plans to finalize it in the nearest future.

Check out this topic using google translator.