I am using RapidInformer to send Smarts notifications as emails, and I want to filter out the archive and state change of notifications.
The Notification Connector subscribes to a Smarts Notification List "RInformer_NL"
In the Smarts Global Console, I have added in the filter:
Attribute: ICEventType matches NOTIFY
This criteria seems to be ignored by Smarts. Any idea why ?
Alternatively, I'm sure that Rinf can to that for me, but I'd like to filter out at the Connector level, rather than as a Route criteria. In the connector definition, I specified "connectors/RapidInformer/RinfEventConnector.groovy" as script. But I have no clear idea what this script is used for, ... as documentation is missing :)
Thanks,
Paul

RinfEventConnector.groovy is
{
dob.addAttributeValue("Action[0].ActionType", "SendMessage");
dob.addAttributeValue("Action[0].Text", dob.ClassName + "::" + dob.InstanceName + " is " + dob.EventName);
dob.each(){key,value ->
if(value instanceof String)
{
dob.addAttributeValue("Action[0]." + key, value);
}
}