<?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: Cannot get process execution variables after the process is completed in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137565#M96438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should use the HistoryService to get information about completed process instances.&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>Fri, 17 May 2013 14:18:20 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-05-17T14:18:20Z</dc:date>
    <item>
      <title>Cannot get process execution variables after the process is completed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137564#M96437</link>
      <description>The scenario is a little different from one mentioned above.Acitivi verision : 5.12.1Here is my code snippet.Map var = new HashMap();var.put("workorderrequest", payload);var.put("workOrderResponse", response);ProcessInstance pi = runtime.startProcessInstanceByKey("getWorkOrder", var);response = (Get</description>
      <pubDate>Fri, 17 May 2013 04:52:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137564#M96437</guid>
      <dc:creator>rahult</dc:creator>
      <dc:date>2013-05-17T04:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get process execution variables after the process is completed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137565#M96438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should use the HistoryService to get information about completed process instances.&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>Fri, 17 May 2013 14:18:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137565#M96438</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-05-17T14:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get process execution variables after the process is completed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137566#M96439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been using history service to get the information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However i was wondering if i could get the information from process instance runtime service itself in order to avoid a DB call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any another approch that can be used to avoid this DB call like a distributed cache?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 04:52:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137566#M96439</guid>
      <dc:creator>rahult</dc:creator>
      <dc:date>2013-05-20T04:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot get process execution variables after the process is completed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137567#M96440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Getting variables from a process-instance always requires a call to the runtimeService. When you're inside activiti-context (eg. JavaDelegate in service-task or DelegateExecution in task/execution-listeners) you can fetch the variables from the DelegateExecution. You should, for example, add a execution listener on process-end and write the variables to some kind of distributed cache in this listener. The listener will be called RIGHT BEFORE the process ends. However, this only works for processes that have been complete while the cache was running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't really see why a call to the DB should be a problem for completed processes?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 04:54:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-get-process-execution-variables-after-the-process-is/m-p/137567#M96440</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-05-22T04:54:57Z</dc:date>
    </item>
  </channel>
</rss>

