<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Filter in Event Handler in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320880#M7881</link>
    <description>&lt;P&gt;I would like to put a complex filtering in Event Handler in automation, and I see there is "Custom EL Expression".
It seems that default JSF EL not working in it.&lt;/P&gt;
&lt;P&gt;Can you tell me how it works ?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Sep 2012 15:39:59 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2012-09-05T15:39:59Z</dc:date>
    <item>
      <title>Filter in Event Handler</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320880#M7881</link>
      <description>&lt;P&gt;I would like to put a complex filtering in Event Handler in automation, and I see there is "Custom EL Expression".
It seems that default JSF EL not working in it.&lt;/P&gt;
&lt;P&gt;Can you tell me how it works ?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2012 15:39:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320880#M7881</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-09-05T15:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in Event Handler</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320881#M7882</link>
      <description>&lt;P&gt;You are right JSF EL does not work into this field, Nuxeo used the same language your are using into Automation chains except, you don't need to add @{}.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;So for the currentDocument title: Document.getProperty("dc:title")&lt;/LI&gt;
&lt;LI&gt;Equality with: ==&lt;/LI&gt;
&lt;LI&gt;String value: with double quote: "&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;=&amp;gt; so enabled Event Handler if title is toto : Document.getProperty("dc:title") == "toto"&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Current user: CurrentUser.name&lt;/LI&gt;
&lt;LI&gt;Lock Owner: Document.isLocked()&lt;/LI&gt;
&lt;LI&gt;And: &amp;amp;&amp;amp;&lt;/LI&gt;
&lt;LI&gt;Or: ||&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;=&amp;gt; check if lockowner is the current user: Document.isLocked() &amp;amp;&amp;amp; Document.doc.getLockInfo().getOwner() == CurrentUser.getName()&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;etc...&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Nuxeo is conscient that there is different kind of EL language into the platform, we plan to work on a normalization about that.&lt;/P&gt;
&lt;P&gt;Hope this helps others Nuxeo users. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2012 15:43:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320881#M7882</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-09-05T15:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in Event Handler</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320882#M7883</link>
      <description>&lt;P&gt;Answers updated&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2012 19:38:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320882#M7883</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-10-24T19:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in Event Handler</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320883#M7884</link>
      <description>&lt;P&gt;I think there is a mistake.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 17:12:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320883#M7884</guid>
      <dc:creator>Éric_Drier</dc:creator>
      <dc:date>2013-02-04T17:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in Event Handler</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320884#M7885</link>
      <description>&lt;P&gt;hmmm don't think so&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:56:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320884#M7885</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-02-19T19:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in Event Handler</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320885#M7886</link>
      <description>&lt;P&gt;Sorry, you're right, i modified the answer.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2013 15:30:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/filter-in-event-handler/m-p/320885#M7886</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-02-22T15:30:28Z</dc:date>
    </item>
  </channel>
</rss>

