Added synapse notify to preexeccution filtering at the action level. Expanded filter metadata
This commit is contained in:
@@ -88,6 +88,15 @@ outputs = {
|
||||
##Filter test against recursiveset
|
||||
|
||||
filters = [
|
||||
{
|
||||
"filterkey": "message_body",
|
||||
#"filterkey_lib": "outputs",
|
||||
"filterkey_format": "length",
|
||||
"execute": synapsenotify,
|
||||
"operator": "<",
|
||||
"filtervalue": 5,
|
||||
"print": f"Message body is less than 5 characters. Notifying with {synapsenotify.name}...",
|
||||
},
|
||||
{
|
||||
"filterkey": "msgtype",
|
||||
"operator": "==",
|
||||
|
||||
Reference in New Issue
Block a user