workflow execution evolved

This commit is contained in:
mr
2025-02-06 09:08:35 +01:00
parent 88b7cfe2fd
commit e646cfef0b
2 changed files with 9 additions and 3 deletions

View File

@@ -28,9 +28,8 @@ type WorkflowExecutions struct {
}
func (r *WorkflowExecutions) StoreDraftDefault() {
// r.IsDraft = true
r.IsDraft = false // TODO: TEMPORARY
r.State = enum.SCHEDULED
r.IsDraft = true // TODO: TEMPORARY
r.State = enum.DRAFT
}
func (r *WorkflowExecutions) CanUpdate(set utils.DBObject) (bool, utils.DBObject) {