workflow execution evolved

This commit is contained in:
mr
2025-02-06 09:08:35 +01:00
committed by pb
parent 91d3e5c3cd
commit 3c615fd3bc
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) {