execution delete only
This commit is contained in:
parent
af9e7d8edd
commit
fe78927e73
@ -36,6 +36,7 @@ func (wfa *workflowMongoAccessor) execution(id string, realData *Workflow, delet
|
|||||||
if delete {
|
if delete {
|
||||||
mongo.MONGOService.DeleteMultiple(map[string]interface{}{
|
mongo.MONGOService.DeleteMultiple(map[string]interface{}{
|
||||||
"workflow_id": id,
|
"workflow_id": id,
|
||||||
|
"state": 1,
|
||||||
}, utils.WORKFLOW_EXECUTION.String())
|
}, utils.WORKFLOW_EXECUTION.String())
|
||||||
}
|
}
|
||||||
if realData.Schedule != nil {
|
if realData.Schedule != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user