Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BPMN2 - Web based UI to manage workflow models #352

Open
lmzanoni opened this issue Mar 1, 2018 · 7 comments
Open

BPMN2 - Web based UI to manage workflow models #352

lmzanoni opened this issue Mar 1, 2018 · 7 comments

Comments

@lmzanoni
Copy link

lmzanoni commented Mar 1, 2018

Is there any plans for a web based BPM2 user interface in the IMIXS product stack? This would be a very good addition so that the eclipse IDE is not required to generate BPMN2 xml files.

@rsoika
Copy link
Member

rsoika commented Mar 1, 2018

For the moment there are no plans to provide a web interface for BPMN 2.0 modelling. Even if there were some thoughts about it in the past.

The advantage of the Eclipse platform is, that you have huge functionality to manage your .bpmn files. For example you have a local change history and also a integration into different source code repositories.
Also you can write jUnit tests for your models directly in the project where you store your bpmn files.
You would not have this functionality in a web UI.

But if you have an idea how such a modelling interface should look and work in a web UI, it would be great if we can discuss it.

@rsoika rsoika added the question label Mar 1, 2018
@lmzanoni
Copy link
Author

lmzanoni commented Mar 1, 2018

Very true about version control, test features, and many other features that come with eclipse.

The main advantages of a web based tool is for the non-technical user to generate a workflow and for a workflow to be generated in a production setting with no supporting tool other than a browser. So I envision a BPMN front-end tool such as the one provided by Activiti, or any other BPMN web tool, they are fairly consistent. (Attached is a very simple example, you are probably familiar with Activiti.) The tool could export the xml directly to the model service that loads it to the IMIXS DB. Validation of the model xml would be something to think about. It might be a good idea to add a capability to validate the benerated BPMN2 xml before uploading it. So in this scenario the user would have a convenience of generating the models with a web interface but would have to be aware of things like version control and testing on there own.

I really like the architecture of IMIXS, by the way. I was pleasantly surprised when I found a workflow engine built on microservices. My thought is that this would be attractive to the noraml everyday user that doesn't understand Eclipse.

It seems you have considered the web U/I some, I'm interested in what further thoughts you have.

activiti.pdf

Thanks,
-Liam

@rsoika
Copy link
Member

rsoika commented Mar 2, 2018

The validation of the bmpm model is already given by the model rest service. So this - I think - would work in the way you described the use case. Also the BPMN origin file is available through the existing rest api. So a bpmn model file created with the Eclipse IDE can be loaded easily.

The hard work would be the implementation of all the property dialogs in a web UI. These didalogs are needed to edit the different extension settings like mail message or ACL settings in an event or task.

So what we need is a free java script library to model BPMN 2.0 with a kind of extension mechanism.
I looked around in the past but did not find a free library with good modelling capabilities.

@lmzanoni
Copy link
Author

lmzanoni commented Mar 2, 2018 via email

@rsoika
Copy link
Member

rsoika commented Mar 5, 2018

Yes, if we find a open source javascript library for drawing BPMN than we can think about what capabilities a Web UI should provide.
Some of our customers have asked in the past for a BPMN Web interface. But I think it is much work to build a full functional web based modeller. If a customer would pay for such a feature it is of course realistic to develop it.
What's the use case you are thinking about? I saw that you are working with liferay portal. Have you integrated imixs-workflow in liferay?

@lmzanoni
Copy link
Author

lmzanoni commented Mar 9, 2018

Sorry for the delay. I have been coding heavy for a few days.

I think a "live" update from a web interface would tend to be desireable for organizations using a workflow. I am currently working on a dynamic orhestration tool to be applied in a security operations environment. In this case the workflows are updated frequently and require domain expertise to set-up the workflows. So to be able to allow (perhaps) an analyst to update workflows in a simple and fluent way will tend to be something users want as in this security operations case.

I am able to update the IMIXS workflow model from within the code directly. I am going to potentally do a front-end that will make use of reloading workflows using that capability. I have a simple idea to start on the front-end side that might be good enough to start.

Liferay has a (somewhat) native workflow application called Kaleo. Kaleo is a good workflow product and has a graphic model tool that is used in eclipse. It would make IMIXS just a competing and simmilar tool so I estimate it would probably not be worth it to mount IMIXS on Liferay as a prortlet, although it would not be too difficult if there is a compelling reason to mount IMIXS on Liferay.

@rsoika
Copy link
Member

rsoika commented Mar 9, 2018

Then let us stay in touch. Perhaps we will find a solution to implement this requirement in the future.

@rsoika rsoika changed the title BPMN2 U/I BPMN2 - Web based UI to manage workflow models Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants