How do I filter out actioneer on an email subscription?

General question about the package, problems, solutions
mjaskilka
Posts: 16
Joined: Mon Apr 30, 2012 2:23 pm

How do I filter out actioneer on an email subscription?

Postby mjaskilka » Mon Aug 11, 2014 12:52 pm

Hello,

When using a regular notification, I can notify the submitter of an action as long as the submitter is not the same as person logged in changing the record by adding a line in the 'condition' with:

$submitter ne $UserLoginName

In a subscription it sends to "ES_GetSubscribersEmails()". How would I do something similar on a subscription to filter out the actioneer regardless of any field values in the record itself?

Thanks,

Mark

Pavel
Posts: 281
Joined: Fri Dec 12, 2008 12:19 am

Re: How do I filter out actioneer on an email subscription?

Postby Pavel » Mon Aug 11, 2014 1:22 pm

Hello,

When subscription is enabled for email notification rule, it adds "ES_GetSubscribersEmails()" function to the "To" field.
You can implement user-defined function to filter desirable email addresses from the list and pass ES_GetSubscribersEmails() as a parameter, so the correspondent "To" line would look like

Code: Select all

MyUserDefiledFilterFuction(ES_GetSubscribersEmails())


Thank you,
Pavel


Return to “Email Notification Package Q&A”

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests

cron