boomerang-io / community

The Boomerang community, roadmap, planning, and architecture repository. The central place for information on joining, contributing, and governance.
https://useboomerang.io
Apache License 2.0
11 stars 0 forks source link

Engine - Add the ability to enable / disable / archive (delete) a Workflow #381

Open tlawrie opened 1 year ago

tlawrie commented 1 year ago

Add the ability to Archive a Workflow which will move it from active to inactive status. All the other calls / endpoints need to be updated to only work with Active Workflows. I.e. you can only submit an Active Workflow

tlawrie commented 1 year ago

Implemented three status types on a Workflow: active, inactive, deleted.

This way a workflow can be disabled (inactive) and not be able to be executed.

tlawrie commented 1 year ago

I wonder if 'deleted' should be 'archived' or or whether deleted should just 'delete it' and therefore its not a status but i dont think we can do that as it would make it hard to view WorkflowRuns... hmm

tlawrie commented 1 year ago

@timrbula @amhudson @gchickma @marcusdroy thoughts please

amhudson commented 1 year ago

From the way I think about it, archived and inactive would mean an behave the same way. I don't think we want to actually delete any workflows.