diff --git a/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py b/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py index 4c7699b59da847f803c24ed0aaaa4a9c05320416..9900435146053faf38b179480ae1c41bb7f247f5 100644 --- a/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py +++ b/src/LHCbDIRAC/ProductionManagementSystem/Utilities/StateMachine.py @@ -61,7 +61,7 @@ class ProductionsStateMachine(LHCbStateMachine): "Cleaned": State(15), # final state "Cleaning": State(14, ["Cleaned", "TransformationCleaned"], defState="Cleaning"), "Completing": State(13, ["Validating"], defState="Completing"), - "Stopped": State(12, ["Active"], defState="Stopped"), + "Stopped": State(12, ["Active", "Completed"], defState="Stopped"), "TransformationCleaned": State(16, ["Archived", "Cleaned"], defState="Archived"), "Archived": State(11), # final state "Completed": State(10, ["TransformationCleaned", "Archived"], defState="Completed"),