Open tlawrie opened 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.
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
@timrbula @amhudson @gchickma @marcusdroy thoughts please
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.
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