Added synapse notify to preexeccution filtering at the action level. Expanded filter metadata

This commit is contained in:
Lyncoln
2026-10-28 20:57:45 -04:00
parent cdf35a9e68
commit 14b5727923
3 changed files with 21 additions and 4 deletions
+6 -3
View File
@@ -12,10 +12,13 @@ def buildAction (action, outputs, process):
if hasattr(action, "allowaction"):
if not action.allowaction:
return outputs, None
return None
if match:
return outputs, None
if filter.get("execute", False):
response, outputs = executeRequest(filter["execute"], outputs, resolved)
return None
response, outputs = executeRequest(action, outputs, resolved)
@@ -27,4 +30,4 @@ def buildAction (action, outputs, process):
if action_log:
logging.info(f"{action.name} completed")
return outputs, response
return response