#71: Added control options to the workflow

This commit is contained in:
frikky
2020-06-26 13:30:04 +02:00
parent 73c59a074e
commit 6a87073320
3 changed files with 71 additions and 8 deletions
+2 -1
View File
@@ -1250,7 +1250,7 @@ func setNewWorkflow(resp http.ResponseWriter, request *http.Request) {
workflow.Actions = newActions
workflow.IsValid = true
workflow.Configuration.ExitOnError = true
workflow.Configuration.ExitOnError = false
workflowjson, err := json.Marshal(workflow)
if err != nil {
@@ -1573,6 +1573,7 @@ func saveWorkflow(resp http.ResponseWriter, request *http.Request) {
// doesn't check sharing=true
// Have to do it like this to add the user's apps
log.Println("Apps set starting")
log.Printf("EXIT ON ERROR: %#v", workflow.Configuration.ExitOnError)
workflowApps := []WorkflowApp{}
//memcacheName = "all_apps"
//if item, err := memcache.Get(ctx, memcacheName); err == memcache.ErrCacheMiss {