[midPoint] Multiple filters for notification

Jason Everling jeverling at bshp.edu
Tue Apr 28 17:12:04 CEST 2015


So into my final setup and 3.1.1 looks like it will be the one we move to
production and when I was setting up notifications I totally forgot about
faculty/staff and how they would be notified. I have my general new account
notifiers filtered out already but I was looking at the new type that Pavol
had created for itemPath specific,

So here is my notification and I need to only make sure this goes out for a
person with a specific attribute like eduPersonAffiliation = student . How
would I add another filter on top of what is already there?

Thanks Again!

    <handler>
    <expressionFilter>
            <script>
<code>
event.isRelatedToItem(new
com.evolveum.midpoint.prism.path.ItemPath("activation",
"administrativeStatus"))
                </code>
            </script>
        </expressionFilter>
        <simpleUserNotifier>
            <name>Account Modified</name>
            <status>success</status>
            <recipientExpression>
                <script>
                    <code>
                        basic.getExtensionPropertyValue(requestee, '
http://www.bshp.edu/xml/ns/public/bshp', 'otherMailbox')
</code>
                </script>
            </recipientExpression>
            <subjectExpression>
                <script>
                    <code>"Account Management - Access to bshp.edu
resources have been modified"</code>
                </script>
            </subjectExpression>
<bodyExpression>

-- 


CONFIDENTIALITY NOTICE:
This e-mail together with any attachments is proprietary and confidential; 
intended for only the recipient(s) named above and may contain information 
that is privileged. You should not retain, copy or use this e-mail or any 
attachments for any purpose, or disclose all or any part of the contents to 
any person. Any views or opinions expressed in this e-mail are those of the 
author and do not represent those of the Baptist School of Health 
Professions. If you have received this e-mail in error, or are not the 
named recipient(s), you are hereby notified that any review, dissemination, 
distribution or copying of this communication is prohibited by the sender 
and to do so might constitute a violation of the Electronic Communications 
Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the 
sender and delete this e-mail and any attachments from your computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150428/0c503b3e/attachment.htm>


More information about the midPoint mailing list