<?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 Multiple OR Statement in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/multiple-or-statement/m-p/177835#M130965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to do an HistoricProcessInstanceQuery with multiple OR. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My use case is the following :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I have multiple instances of process with 2 variables A and B. Values for A can be 1, 2, 3 and values for B can be 5,6,7. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I'm trying to find process instances with variables (A1 OR A2) AND (B5 OR B7).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm totally blocked. My request can be (A1 OR A2 OR B5 OR B7) or (A1 AND A2 AND B5 AND B7) … but this is not the way I've to implement my business requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please advise me on this case ? I really don't understand why it's impossible to have multiple OR statements in one query ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 20:56:25 GMT</pubDate>
    <dc:creator>mysterejack</dc:creator>
    <dc:date>2015-06-30T20:56:25Z</dc:date>
    <item>
      <title>Multiple OR Statement</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-or-statement/m-p/177835#M130965</link>
      <description>Hi everybody,I'm trying to do an HistoricProcessInstanceQuery with multiple OR. My use case is the following :- I have multiple instances of process with 2 variables A and B. Values for A can be 1, 2, 3 and values for B can be 5,6,7. - I'm trying to find process instances with variables (A1 OR A2) A</description>
      <pubDate>Tue, 30 Jun 2015 20:56:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-or-statement/m-p/177835#M130965</guid>
      <dc:creator>mysterejack</dc:creator>
      <dc:date>2015-06-30T20:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple OR Statement</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-or-statement/m-p/177836#M130966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the javadoc of the or method the following statement is made about this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Begin an OR statement. Make sure you invoke the endOr method at the end of your OR statement. Only one OR statement is allowed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So your use case is currently not supported ootb. You could use a native historic process instance query though and write the SQL yourself to make this work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 14:18:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-or-statement/m-p/177836#M130966</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-07-01T14:18:34Z</dc:date>
    </item>
  </channel>
</rss>

