elsa-workflows / elsa-core

A .NET workflows library
https://v3.elsaworkflows.io/
MIT License
6.53k stars 1.2k forks source link

Moving towards statecharts #4748

Open larsbuch opened 10 months ago

larsbuch commented 10 months ago

With the support of rather complex workflows, statecharts and parallel execution going towards a standard makes sense. BPMN covers some but not all (as far as I see).

It looks like you are moving towards statecharts support (https://statecharts.dev/) in json. It might make sense to seek inspiration from https://xstate.js.org/ where it is specified in json.

It is also possible to make an API that translates to and from elsa model to xstates model making it possible to push workflow execution to a manual workflow in an app for manual steps execution.

sfmskywalker commented 10 months ago

I didn't know about statecharts - I will definitely look into this. Thanks!

larsbuch commented 10 months ago

If it is interesting I can make a POC to show

lør. 6. jan. 2024 12.09 skrev Sipke Schoorstra @.***>:

I didn't know about statecharts - I will definitely look into this. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/elsa-workflows/elsa-core/issues/4748#issuecomment-1879639089, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACX3BB6V7J3NGBXNHJJHZRLYNEWGXAVCNFSM6AAAAABBMKYYDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGYZTSMBYHE . You are receiving this because you authored the thread.Message ID: @.***>

sfmskywalker commented 10 months ago

Please do, I'm very interested.