REST deployment of a zip does not create an App tile in flowable-task

Hi Everyone,

I’m just getting started with Flowable and I’m trying to use the REST API to upload a deployment zip file. When I use the rest API to upload my deployment package the process appears as an option in the task app, but an app tile doesn’t appear in the top flowable task landing page and the forms don’t appear when I start a process.

When I use modeler to import and publish the same zip file the tile appears and the forms function.

Is there an additional step to create and link the App after the REST POST of the repository/deployments URI?

This is the structure of my zip file:

$ unzip -l workflows/Add\ 
Archive:  workflows/Add
Length      Date    Time    Name
---------  ---------- -----   ----
567  12-11-2019 23:22   Add calculators.json
5790  12-11-2019 23:22   bpmn-models/add_calculators.bpmn
8518  12-11-2019 23:22   bpmn-models/add_calculators.json
1567  12-11-2019 23:22   bpmn-models/add_calculators.png
1357  12-11-2019 23:22   form-models/calculator.json
5683  12-11-2019 23:22   form-models/calculator.png
---------                     -------
23482                     6 files

My curl invocation (using the all-in-one docker image):

curl -F 'Addcalculators=@Add' -X POST http://admin:test@localhost:8080/flowable-task/process-api/repository/deployments

Many thanks,

The REST endpoint you are using is for regular deployments, i.e. running without UI.
Looking at the source code, it looks like the Modeler application uses the app-repository/deployments endpoint to publish the zip:

1 Like

Thank you so much Joram. I will try that endpoint instead.