#342: Made workflow trigger run from real startnode

This commit is contained in:
frikky
2021-04-26 19:39:10 +02:00
parent 1adf20b43c
commit fd65c3afbd
2 changed files with 20 additions and 2 deletions
+1 -1
View File
@@ -1657,7 +1657,7 @@ func handleExecution(id string, workflow shuffle.Workflow, request *http.Request
}
if !found {
log.Printf("[ERROR] ACTION %s WAS NOT FOUND!", execution.Start)
log.Printf("[ERROR] Action %s was NOT found! Exiting execution.", execution.Start)
return shuffle.WorkflowExecution{}, fmt.Sprintf("Startnode %s was not found in actions", workflow.Start), errors.New(fmt.Sprintf("Startnode %s was not found in actions", workflow.Start))
}
} else if len(execution.Start) > 0 {