<?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 Syntax for Automation Document.Filter condition in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/syntax-for-automation-document-filter-condition/m-p/327821#M14822</link>
    <description>&lt;P&gt;I'd like to filter my list of documents based on the value in one of the document fields. I've tried this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Seam.GetSelectedDocuments&lt;/LI&gt;
&lt;LI&gt;Document.Filter:
class: Any
condition: "@{Document.getPropertyValue(xx:xx_status)=='Accepted'}"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;But obviously the condition syntax is wrong. I'd like the output list of documents to all have xx_status value equal to Accepted, and any documents whose value is NOT Accepted should be excluded from the list.&lt;/P&gt;
&lt;P&gt;This is the error message:
An error occured while executing the chain 'ua-ReadyForScheduleFacilitation': [Error: unresolvable property or identifier: xx] [Near : {... Document.getPropertyValue(xx:xx_status)=='Accepted' ....}] ^ [Line: 1, Column: 27]&lt;/P&gt;
&lt;P&gt;Am I using Document.Filter incorrectly? Can anyone help me with the EL syntax for this condition?
Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2015 14:25:29 GMT</pubDate>
    <dc:creator>LaraGranite_</dc:creator>
    <dc:date>2015-10-23T14:25:29Z</dc:date>
    <item>
      <title>Syntax for Automation Document.Filter condition</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/syntax-for-automation-document-filter-condition/m-p/327821#M14822</link>
      <description>&lt;P&gt;I'd like to filter my list of documents based on the value in one of the document fields. I've tried this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Seam.GetSelectedDocuments&lt;/LI&gt;
&lt;LI&gt;Document.Filter:
class: Any
condition: "@{Document.getPropertyValue(xx:xx_status)=='Accepted'}"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;But obviously the condition syntax is wrong. I'd like the output list of documents to all have xx_status value equal to Accepted, and any documents whose value is NOT Accepted should be excluded from the list.&lt;/P&gt;
&lt;P&gt;This is the error message:
An error occured while executing the chain 'ua-ReadyForScheduleFacilitation': [Error: unresolvable property or identifier: xx] [Near : {... Document.getPropertyValue(xx:xx_status)=='Accepted' ....}] ^ [Line: 1, Column: 27]&lt;/P&gt;
&lt;P&gt;Am I using Document.Filter incorrectly? Can anyone help me with the EL syntax for this condition?
Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 14:25:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/syntax-for-automation-document-filter-condition/m-p/327821#M14822</guid>
      <dc:creator>LaraGranite_</dc:creator>
      <dc:date>2015-10-23T14:25:29Z</dc:date>
    </item>
  </channel>
</rss>

