Actions
Bug #10080
closedpipeline_instance state can be changed from `Complete` to `Paused`
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-
Description
I think transitioning the state of a pipeline_instance from `Complete` to `Paused` should be an invalid transition (i.e. trying to update a pipeline_instance with '{"state":"Paused"}' when '{"state":"Complete"}' should result in an error.
At the moment, using the CLI, I can update a pipeline instance between `Complete` and `Paused` state (and back again).
Perhaps only the following state transitions should be legal?
RunningOnServer->Complete
RunningOnServer->Failed
RunningOnServer -> Paused
Paused -> RunningOnServer
Actions