
Mark Keisling
I'm wondering if anyone knows how or has configured Subscriptions using more advanced find functions?
Using the "Matches" operator, is there a way to use RegEx? Or at least utilize AND or OR?
I want to setup a Subscription that looks for "bob" OR "smith". I can of course create 2 Subscriptions, one for each. But all of the rest of the configuration is the same, so I'd rather create one and expand the search criteria.
I tried "OR" and "|", didn't seem to work though. Any thoughts? Thanks!
0
Comments
Please sign in to leave a comment.
Hey Mark, yea the only way I've seen to get around this is with multiple subscriptions. I can see the power of using a regex, but I can also see the database crippling possiblities as the number of events gets higher and higher. I suppose maybe if you only allowed RegExs to be entered by users with a certain role that might help mitigate things. Possibly a good enhancement request?
Interesting thought on role based. My need is for Assigned Subscriptions, with Sys Admins assigning. So I wasn't even thinking of that type of an issue. If the "Matches, Starts With" options had an Option for RegEx you would think people would avoid that if they didn't know what it meant? I can definitely see your point of not allowing RegEx on the other selections.
My other thought is using Web Services to create the subscriptions. Sounds as though that'd probably the best option at this point if I want to avoid manual creation of a large number of subscriptions.
Thanks