workflow-core icon indicating copy to clipboard operation
workflow-core copied to clipboard

Resume from application failure, lots of JSON definitions, multitenant app.

Open pablotola opened this issue 3 years ago • 0 comments

I'm planning to use this library to implement a workflow feature on a multitenant application.

I built a custom workflow designer which produces a JSON definition, my plan is to convert our custom JSON definition to WFC format and then load/register it.

If I understand correctly I need to load the workflow definitions at startup, or they can be registered when the users save the workflow they are working on? We have over a thousand tenants. If each tenant creates at least 1 workflow this could be a lot of definitions to load at startup, is that correct, or is there another way? If the engine goes down for any reason and we have to restart the service, will it pick up where it left off if it was running a workflow without loading the definitions again, or do I need to load them every single time the app starts up?

Thanks.

pablotola avatar Dec 08 '22 02:12 pablotola