Removed the startnode changes again. Too many possible failures
This commit is contained in:
@@ -2833,10 +2833,10 @@ class AppBase:
|
|||||||
# This is to make it possible ot
|
# This is to make it possible ot
|
||||||
try:
|
try:
|
||||||
if action["id"] == fullexecution["start"]:
|
if action["id"] == fullexecution["start"]:
|
||||||
pass
|
return True, ""
|
||||||
|
|
||||||
# Need to validate if the source is a trigger or not
|
# Need to validate if the source is a trigger or not
|
||||||
# need to remove branches that are not from trigger to the startnode to make it all work
|
# need to remove branches that are not from trigger to the startnode to make it all work
|
||||||
|
|
||||||
#if "workflow" in fullexecution["workflow"] and "triggers" in fullexecution["workflow"]:
|
#if "workflow" in fullexecution["workflow"] and "triggers" in fullexecution["workflow"]:
|
||||||
# cnt = 0
|
# cnt = 0
|
||||||
# found_branch_indexes = []
|
# found_branch_indexes = []
|
||||||
@@ -2859,12 +2859,10 @@ class AppBase:
|
|||||||
# print("Removed %d branches" % len(found_branch_indexes))
|
# print("Removed %d branches" % len(found_branch_indexes))
|
||||||
#else:
|
#else:
|
||||||
# print("[WARNING] No branches or triggers found in fullexecution for startnode")
|
# print("[WARNING] No branches or triggers found in fullexecution for startnode")
|
||||||
|
|
||||||
#if should_skip:
|
|
||||||
# return True, ""
|
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
self.logger.info(f"[WARNING] Failed checking startnode: {error}")
|
self.logger.info(f"[WARNING] Failed checking startnode: {error}")
|
||||||
#return True, ""
|
#return True, ""
|
||||||
|
#return True, ""
|
||||||
|
|
||||||
available_checks = [
|
available_checks = [
|
||||||
"=",
|
"=",
|
||||||
|
|||||||
Reference in New Issue
Block a user