I have 2 issues.
Issue1:
I have a script that packages a process and forms into a zip.
I would like to deploy this zip in flowable-modeler but don’t find any documentation on what endpoint I should use.
Issue2:
When I use a get on flowable-modeler in postman I get redirected to the identity manager.
When I use the same URL in a browser that is authenticated it works as designed.
The URL I’m using is: https://flowable-dev/flowable-modeler/app/rest/models
I would like to clarify some things. The flowable-task and flowable-modeler application do not share the same DB tables. Which means that if you deploy an app only to flowable-task then you won’t see the models in flowable-modeler.
If flowable-rest and flowable-task are configured with the same DB, then they should have the exact same data, which means that if you deploy to flowable-rest then you should be able to see it in flowable-task.
Have a look at the Flowable UI Modeler section of our documentation. There are 2 ways to export an app. One export creates a zip which can be used for importing an app to other flowable-modeler application. And the second one exports a bar which should be used for deploying to the engines.
I create a bpm drawing and forms in modeler. I download it and manually it in an eclipse project.
In eclipse I write some javascript in the bpmn file. Write some test code, maybe modify a form a bit.
Once I’m happy I deploy it to the task engine and start the process and test it manually.
Offcourse sometimes I want to make big changes and then I like a GUI. So I would like to import my process back into modeler.
This is an issue since I can’t import a bar file into modeler or a zip into flowable-task.
Is there an easy way to transform these?
One solution would be, uploading a zip to flowable-modeler and publishing it using the rest interface of modeler. Is this possible?
I noticed that when you import a process in modeler, the reference to the form is gone.
This question is has “changed” a bit.
The actual issue is although modeler is a nice graphical tool, it has it’s limits.
The modeler is easy to create a drawing, but once I start writing scripts and testclasses I switch to eclipse.
Although I do most of my work in eclipse, I sometimes want to modify the process or forms in flowable-modeler. Visualisation of the xml process flows and json forms can be handy
When I change a form this is not pushed to flowable-task. For this I need to create an app and publish it.
This requires a lot of manual steps:
Import xml process into modeler
fix form references in the process flow.
modify form
publish app from modeler to task.
start the process in task
add process variables to startform
The last 2 steps can easily be scripted.
The issue is importing and publishing.