<?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 Re: HistoricProcessInstanceQuery query over multiple process variables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241387#M194517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think it exist for tasks. But it is achievable using the NativeTaskQuery where you can write your own SQL query where you can specify multiple task ids. Please see &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#queryAPI" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#queryAPI&lt;/A&gt;&lt;SPAN&gt; (Query API section in user guide)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciju&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2016 22:10:29 GMT</pubDate>
    <dc:creator>cjose</dc:creator>
    <dc:date>2016-10-25T22:10:29Z</dc:date>
    <item>
      <title>HistoricProcessInstanceQuery query over multiple process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241382#M194512</link>
      <description>Hello this is a scenario that describes my problem,I have a workflow that contains a multiple/multi-valued property named documentVerificators which is an association with  cm&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ersonI started an instance of this workflow and selected two users in the property documentVerificators: admin and Jack.I w</description>
      <pubDate>Wed, 08 Jun 2016 14:53:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241382#M194512</guid>
      <dc:creator>godofwar</dc:creator>
      <dc:date>2016-06-08T14:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricProcessInstanceQuery query over multiple process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241383#M194513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I didnt find someThing like variableValueIn to filter over multiples process variables.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Can't you use multiple &lt;/SPAN&gt;&lt;CODE&gt;variableValueEquals&lt;/CODE&gt;&lt;SPAN&gt; with &lt;/SPAN&gt;&lt;CODE&gt;.or&lt;/CODE&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Variable values stored in byte arrays are not searchable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:29:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241383#M194513</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-06-09T06:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricProcessInstanceQuery query over multiple process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241384#M194514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have checked the database , multiple variables are stored in byte arrays :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not have &amp;lt;code&amp;gt;.or&amp;lt;/code&amp;gt;method in my api version,but i have mentioned only one user in &lt;/SPAN&gt;&lt;STRONG&gt;documentVerificators&lt;/STRONG&gt;&lt;SPAN&gt; which is admin and then i tried with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;query.variableValueEquals(propertyName, ActivitiScriptNode);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivitiScriptNode is the activitiscripnode of the admin user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Result: no instances found&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried also with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;code&amp;gt;query.variableValueEquals(propertyName, ActivitiScriptNodeList);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivitiScriptNodeList contains only the ActivitiScriptNode of the user admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Result: I get this message: &lt;/SPAN&gt;&lt;STRONG&gt;Variables of type ByteArray cannot be used to query&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 11:38:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241384#M194514</guid>
      <dc:creator>godofwar</dc:creator>
      <dc:date>2016-06-09T11:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricProcessInstanceQuery query over multiple process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241385#M194515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Variables of type ByteArray cannot be used to query&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can only query on primitives (this is what databases allow). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure your variables are stored as a String and not serialized as Java object (and thus bytes). Using serialization, you lose all query capabilities on it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:15:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241385#M194515</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-06-20T12:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricProcessInstanceQuery query over multiple process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241386#M194516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm wondering if it's possible to query tasks by giving multiple task ids at once? I'm sure .or is not working in the case of multiple taskIds, it would only fetch the last id given.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Similar thing exists for process queries: ProcessInstanceQuery#processInstanceIds(Set&amp;lt;String&amp;gt;) but not for TaskQuery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 19:47:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241386#M194516</guid>
      <dc:creator>pandu</dc:creator>
      <dc:date>2016-10-25T19:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricProcessInstanceQuery query over multiple process variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241387#M194517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think it exist for tasks. But it is achievable using the NativeTaskQuery where you can write your own SQL query where you can specify multiple task ids. Please see &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#queryAPI" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#queryAPI&lt;/A&gt;&lt;SPAN&gt; (Query API section in user guide)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciju&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 22:10:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historicprocessinstancequery-query-over-multiple-process/m-p/241387#M194517</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2016-10-25T22:10:29Z</dc:date>
    </item>
  </channel>
</rss>

