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\ calculators.zip
Archive: workflows/Add calculators.zip
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 calculators.zip' -X POST http://admin:test@localhost:8080/flowable-task/process-api/repository/deployments
Many thanks,
Chris