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

Epic: Replace Workflow #1013

Open
chrisvire opened this issue Apr 28, 2024 · 0 comments
Open

Epic: Replace Workflow #1013

chrisvire opened this issue Apr 28, 2024 · 0 comments

Comments

@chrisvire
Copy link
Member

chrisvire commented Apr 28, 2024

Scriptoria uses DWKit .NET-based workflow engine to implement long-lived workflows. We chose this for the following reasons:

  1. Our back-end was going to be ASP.NET Core
  2. We wanted to allow the service to be run by non-programmers. So we wanted:
    a. no-code solution
    b. graphical workflow creation
    c. form engine
    Originally, the licensing cost of DWKit started at $3K/yr and has increased to $15/yr.

Here are reasons for changing the workflow:

  • The license maintenance cost is too much.
  • The handing of the service over to non-programmers never happened and will probably never happen.
  • When we selected DWKit, we were not web developers and we were concerned with implementing the workflow forms. We are now more experienced web developers and it isn't a problem.
  • We are using Svelte+SvelteKit for other web-based projects and it would be easier to maintain Scriptoria with Svelte+SvelteKit instead of React.
  • Upgrading the version of the workflow engine is hard due to manual database migration for features we don't use.
  • The version of DotNet Core we are currently using is very old (2.1). Upgrading to newer versions is a time consuming process.
  • There are also dependent core libraries (for jsonapi) that have significant breaking changes for 2.1 to newer DotNet Core versions.
  • Even with the graphical workflow, we still had to add code for the events.
  • The workflows haven't changed and will only have minor changed (e.g. for auto rebuilds).
  • Hosting the workflow in the back-end causes problems with the back-end crashes or needs to be restarted.
  • The workflows can stall due to retry loops in the workflow stopping.

Plan:

  • We will be implementing the workflow forms in Svelte+SvelteKit.
  • We will be implementing the workflows in AWS Simple Workflow Service or AWS Step Functions
@chrisvire chrisvire changed the title Replace Workflow Epic: Replace Workflow Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant