execution delete only

This commit is contained in:
mr 2024-08-07 13:18:44 +02:00
parent af9e7d8edd
commit fe78927e73

View File

@ -36,6 +36,7 @@ func (wfa *workflowMongoAccessor) execution(id string, realData *Workflow, delet
if delete {
mongo.MONGOService.DeleteMultiple(map[string]interface{}{
"workflow_id": id,
"state": 1,
}, utils.WORKFLOW_EXECUTION.String())
}
if realData.Schedule != nil {