-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Use ELSA-Core workflow #13652
Comments
@sfmskywalker maybe you would be interested in creating this PR? |
We would have to take care about what we have introduced like, as I remember, distributed locking and recursion checking. |
This comment was marked as outdated.
This comment was marked as outdated.
@MikeAlhayek You mean a PR for updating the Orchard Core's workflow designer with that of Elsa? Or replace its engine as well? In any case, I am working on a small Orchard module that integrates Elsa 3. It works, but there are some challenges that I need to go through still:
Challenge number 4 would dissappear if the OC Workflows module would be updated to leverage the Elsa packages of course. Perhaps this might be an option once the Elsa OC module proves effective. |
@sfmskywalker we had a discussion about improving workflow in OC with @sebastienros. He mentioned ELSA. I like the UI used by ELSA as it provide better guidance during the design. I don't know all the differences between ELSA 3 and OC workflow. It's my understanding that the foundation/services are the same. Here are some things we can improve in OC Also, I think it would be nice if we can have some sort of activity dependencies like activity X would be applicable unless activity B happened. For example, you can't apply Form Validation task, before for submitting for task. Having to stay on the same page when designing a workflow is nicer from a user perspective. @sebastienros may have more feedback on weather we should depend on ELSA package or just design OC UI to match what ELSA is doing. But I think if the core components/services are the same, I would think using ELSA package may not be a bad idea. |
In spirit, they are similar, but a lot has happened in the past 4 years or so ;)
It would break all existing workflow definitions and instances out there, unfortunately.
This is true. Elsa 3 doesn't have this anymore, but I'd like to add it back, even if only as a configurable option.
That's a very neat idea, although I wonder about its feasibility. In Elsa, for example, you could have the "Form Validation" activity a few steps ahead of the "Form Submitted" event. And perhaps the user decided to have its own version of a "Form Submitted" event, and wants to use a dynamic expression in the "Form Validation" activity to validate.
💯
I'm afraid it would be a complete and total breaking change. Therefore, the best course of action might be to add it as a new module, allowing users the choice which one to use. And possibly, we can find a way to increase code reuse from existing OC activities as much as possibly. One idea could be to have the existing activities start implementing Elsa interfaces. Another idea might be to have an Elsa Activity Provider that discovers the OC activities, return activity descriptors that delegate to the OC activity's functionality. I'm working on a small PoC to explore this in more detail, here: https://github.com/elsa-workflows/elsa-orchard-core/tree/v3 |
@sfmskywalker I think creating a module with a new UI would be good to have the option to choose which interface to use. But, I think if ELSA 3 is actively being developed and maintained, it may make sense to use their component even if it comes with breaking changes. The benefit here would be that we can still provide powerful workflow in OC with Elsa community's support. You may want to join our triage call in about 50 mins and talk about it. I am sure @sebastienros will provide better feedback of the path of the project. |
Sure, I'd be happy to attend today's call and discus this further. See you in a few minutes. |
No triage meeting today. |
Alright, some other time then. |
Sorry that the meeting today was cancelled. Hopefully you can join our next meeting Tuesday 12PM PST or Thursday 10AM PST. |
No worries! I’ll try and join the call next Tuesday. |
A JSON-based low-code front-end framework is recommended and should be useful for node configuration forms for the workflow module. I've used it for several pages in OC and it works well with the OC style Repository : Document address (currently only in Chinese, it is recommended to use browser translation): Page editor demo: |
Hi @MikeAlhayek |
I am sure it'll be published soon. @Piedone do we know when we he previous meeting will be published? |
@MikeAlhayek After @sebastienros sends it to me. :D |
Thanks for sharing |
@sfmskywalker I just want to share some minor suggestions on the ELSA UI (which is bountiful already)
|
Hi everyone, my company and I built our solution on OrchardCore and we are very enthusiastic about Elsa Framework, especially since we saw the demo made during Orchard Harvest 2023. We wish to know what is the current status of this milestone, if someone already works on it and if it's the case, who, to collaborate with him/her ? If that's not already launched, how we can contribute to add modules for Elsa Workflow ? That will be our first contribution on OrchardCore so we wanted to do it right ! I found the repo https://github.com/elsa-workflows/elsa-orchard-core on elsa-workflow but not very sure if something newer was already developed. |
@MikeAlhayek Thank you for the great feedback! A lot has changed since you sent that message. More specifically, the entire dashboard has been redone with a Material Design library called MudBlazor. I would love to hear your feedback on that whenever you get a chance to try it out. The repo for Elsa Studio can be found here. |
@jeanbaptistedalle As the author of Elsa Workflows, it makes me very happy to hear that you like it! The Orchard Core integration module is currently of "proof of concept" quality.
I am probably missing a few details, but I think these are the most crucial ones. Please feel free to let me know if you want to hop on a call and talk through these things in more detail if you want! |
@sfmskywalker https://xflow.antv.vision/zh-CN/docs/tutorial/solutions/flow |
@hyzx86 Awesome, thanks for pointing me to this! |
@sfmskywalker is there any traction on this? Last time I saw your demo and it was pretty close. If you don't mind, can you please share the current status. Are you still actively working on this? |
Hi @MikeAlhayek , no work has been done since then, but it is still on my todo list. |
Hopefully your next call to |
Is your feature request related to a problem? Please describe.
ELSA-Core provides an improved UI for workflow. The implementation is very similar to OrchardCore so the change should not be dramatic.
https://github.com/elsa-workflows/elsa-core
The text was updated successfully, but these errors were encountered: