<?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: Search with a specific field in Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/search-with-a-specific-field-in-activiti/m-p/214482#M167612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lawrence,&lt;/P&gt;&lt;P&gt;I am not sure how you are retrieving you list of tasks, but if it is via the REST API, you can use the historic process instance query API to filter by any process variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details are below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.activiti.org/userguide/#_query_for_historic_process_instances" title="http://www.activiti.org/userguide/#_query_for_historic_process_instances" rel="nofollow noopener noreferrer"&gt;Activiti User Guide - Historic process Instance Query&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, this would require that you know the exact data that you are interested in and if you are looking for accounts that fund on a particular day, or for employees that are terminated on a specfic day, then this would work just fine.&lt;BR /&gt;Available operators include greater than and less than, so if you needed al tasks with a variable between two dates it would require two calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using th Java API, you can do exactly the same thing with the HistoricTaskInstanceQuery :&lt;BR /&gt;:&amp;nbsp;&lt;A class="link-titled" href="http://activiti.org/javadocs/org/activiti/engine/history/HistoricTaskInstanceQuery.html" title="http://activiti.org/javadocs/org/activiti/engine/history/HistoricTaskInstanceQuery.html" rel="nofollow noopener noreferrer"&gt;HistoricTaskInstanceQuery (Activiti - Engine 5.22.0 API)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you were after.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2016 16:29:08 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2016-12-19T16:29:08Z</dc:date>
    <item>
      <title>Search with a specific field in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-with-a-specific-field-in-activiti/m-p/214481#M167611</link>
      <description>Hello everyone,Currently I have an application that is separated into 2, an HMI part with an input form and a server part with activiti. Each time I finish a task in my workflow I save the JSON form in the variables of the current task and I finish the task :this.taskService.complete (task.getId (),</description>
      <pubDate>Mon, 19 Dec 2016 14:04:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-with-a-specific-field-in-activiti/m-p/214481#M167611</guid>
      <dc:creator>lnavet</dc:creator>
      <dc:date>2016-12-19T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search with a specific field in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/search-with-a-specific-field-in-activiti/m-p/214482#M167612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lawrence,&lt;/P&gt;&lt;P&gt;I am not sure how you are retrieving you list of tasks, but if it is via the REST API, you can use the historic process instance query API to filter by any process variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details are below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.activiti.org/userguide/#_query_for_historic_process_instances" title="http://www.activiti.org/userguide/#_query_for_historic_process_instances" rel="nofollow noopener noreferrer"&gt;Activiti User Guide - Historic process Instance Query&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, this would require that you know the exact data that you are interested in and if you are looking for accounts that fund on a particular day, or for employees that are terminated on a specfic day, then this would work just fine.&lt;BR /&gt;Available operators include greater than and less than, so if you needed al tasks with a variable between two dates it would require two calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using th Java API, you can do exactly the same thing with the HistoricTaskInstanceQuery :&lt;BR /&gt;:&amp;nbsp;&lt;A class="link-titled" href="http://activiti.org/javadocs/org/activiti/engine/history/HistoricTaskInstanceQuery.html" title="http://activiti.org/javadocs/org/activiti/engine/history/HistoricTaskInstanceQuery.html" rel="nofollow noopener noreferrer"&gt;HistoricTaskInstanceQuery (Activiti - Engine 5.22.0 API)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is what you were after.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 16:29:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/search-with-a-specific-field-in-activiti/m-p/214482#M167612</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2016-12-19T16:29:08Z</dc:date>
    </item>
  </channel>
</rss>

