<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Jason,<br>
      <br>
      yes, it seems correct. :-)<br>
      <br>
      Pavol<br>
      <br>
      On 28. 4. 2015 19:21, Jason Everling wrote:<br>
    </div>
    <blockquote
cite="mid:CAFkZXY4tAGzwZfDHGZ1Ct+7-+s5O4AGWiwVnBSqN1KewDuP=AQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hah! So simple, I think I got it, tested it and
        seems to be working but would like your opinion if it looks
        correct,
        <div><br>
        </div>
        <div>
          <div><code></div>
          <div><span class="" style="white-space:pre"> </span>event.isRelatedToItem(new
            com.evolveum.midpoint.prism.path.ItemPath("activation",
            "administrativeStatus")) &amp;&amp;</div>
          <div><span class="" style="white-space:pre"> </span>basic.getExtensionPropertyValue(requestee,
            '<a moz-do-not-send="true"
              href="http://www.bshp.edu/xml/ns/public/bshp">http://www.bshp.edu/xml/ns/public/bshp</a>',
            'eduPersonAffiliation') == 'student'</div>
          <div></code></div>
        </div>
        <div><br>
        </div>
        <div>JASON</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Apr 28, 2015 at 11:48 AM, Pavol
          Mederly <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hello Jason,<br>
                <br>
                I'm not sure I understand you correctly. <br>
                <br>
                If you want to add another condition (e.g.
                eduPersonAffiliation = student), you can simply add it
                to the <code> section of your existing filter (via
                "&&" written in XML as &amp;&amp;).<br>
                Or you can use another <expressionFilter>, just
                before or after the one you have there.<br>
                <br>
                Hope this helps,<br>
                Pavol
                <div>
                  <div class="h5"><br>
                    <br>
                    On 28. 4. 2015 17:12, Jason Everling wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">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,
                      <div><br>
                      </div>
                      <div>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?</div>
                      <div><br>
                      </div>
                      <div>Thanks Again!</div>
                      <div><br>
                      </div>
                      <div>
                        <div>    <handler></div>
                        <div><span style="white-space:pre-wrap"> </span>
                             <expressionFilter></div>
                        <div>            <script></div>
                        <div><span style="white-space:pre-wrap"> </span><code></div>
                        <div><span style="white-space:pre-wrap"> </span>event.isRelatedToItem(new

                          com.evolveum.midpoint.prism.path.ItemPath("activation",

                          "administrativeStatus"))</div>
                        <div>                </code></div>
                        <div>            </script></div>
                        <div>        </expressionFilter></div>
                        <div>        <simpleUserNotifier></div>
                        <div>            <name>Account
                          Modified</name></div>
                        <div>           
                          <status>success</status></div>
                        <div>            <recipientExpression></div>
                        <div>                <script></div>
                        <div>                    <code></div>
                        <div>                       
                          basic.getExtensionPropertyValue(requestee, '<a
                            moz-do-not-send="true"
                            href="http://www.bshp.edu/xml/ns/public/bshp"
                            target="_blank">http://www.bshp.edu/xml/ns/public/bshp</a>',

                          'otherMailbox')</div>
                        <div><span style="white-space:pre-wrap"> </span></code></div>
                        <div>                </script></div>
                        <div>            </recipientExpression></div>
                        <div>            <subjectExpression></div>
                        <div>                <script></div>
                        <div>                    <code>"Account
                          Management - Access to <a
                            moz-do-not-send="true"
                            href="http://bshp.edu" target="_blank">bshp.edu</a>
                          resources have been modified"</code></div>
                        <div>                </script></div>
                        <div>            </subjectExpression></div>
                        <div><span style="white-space:pre-wrap"> </span><bodyExpression></div>
                      </div>
                    </div>
                    <br>
                  </div>
                </div>
                <font size="2"><br>
                  <br>
                  CONFIDENTIALITY NOTICE:<br>
                  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. </font><br>
                <br>
                <fieldset></fieldset>
                <br>
                <pre>_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            midPoint mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
            <a moz-do-not-send="true"
              href="http://lists.evolveum.com/mailman/listinfo/midpoint"
              target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <font size="2"><br>
        <br>
        CONFIDENTIALITY NOTICE:<br>
        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. </font><br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>