<?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 Activiti and Other View Technolgies Integration in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15220#M6622</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;SPAN&gt;We are using Grails GSP as the view layer of the workflow application instead of Activiti Explorer. So we will need to create our own task lists. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will use the vacation request process as an example. Let's say a user submitted a request, at this point a task is pending in management unassigned tasklist and a manager is claim the task and the task now is in the manager's assigned tasklist. Next, the manager click on the task to retrieve the request for approval.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is task Id. (from Task.getId()) unique per process definition? If the answer is yes, will it be appropriate if I use it as row Id. or record Id. (primary key) of vacation request record, so that when the manager click on the task, the application can use the task Id. to retrieve the vacation request record.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have better suggestion on this matter? Please advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chee Kin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Sep 2010 06:37:05 GMT</pubDate>
    <dc:creator>limcheekin</dc:creator>
    <dc:date>2010-09-08T06:37:05Z</dc:date>
    <item>
      <title>Activiti and Other View Technolgies Integration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15220#M6622</link>
      <description>Hi,We are using Grails GSP as the view layer of the workflow application instead of Activiti Explorer. So we will need to create our own task lists. I will use the vacation request process as an example. Let's say a user submitted a request, at this point a task is pending in management unassigned t</description>
      <pubDate>Wed, 08 Sep 2010 06:37:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15220#M6622</guid>
      <dc:creator>limcheekin</dc:creator>
      <dc:date>2010-09-08T06:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Other View Technolgies Integration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15221#M6623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The task id is unique per process definition. It is even unique for all the tasks ever created, even when you would run Activiti in a cluster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So yes, you can use the task id to find the correct process instance for that specific vacaction request.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 08:56:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15221#M6623</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-08T08:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Other View Technolgies Integration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15222#M6624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The task id is unique per process definition. It is even unique for all the tasks ever created, even when you would run Activiti in a cluster.&lt;BR /&gt;&lt;BR /&gt;So yes, you can use the task id to find the correct process instance for that specific vacaction request.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for promptly response. Is this approach is the best way? Do you have better suggestion in mind?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chee Kin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 10:10:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15222#M6624</guid>
      <dc:creator>limcheekin</dc:creator>
      <dc:date>2010-09-08T10:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Other View Technolgies Integration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15223#M6625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wouldnt use the same id for the task and the vacation request. Rather, I would give the vacation request record a unique id, and store that reference as a process variable (note: I'm not storing the whole vacation request record as a process variable). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, if you need the vacation request record, you simply do: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String executionId = task.getExecutionId();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;long vacationRequestId = runtimeService.getVariable(executionId, "vacactionRequestId");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 07:56:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15223#M6625</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2010-09-09T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Other View Technolgies Integration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15224#M6626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I wouldnt use the same id for the task and the vacation request. Rather, I would give the vacation request record a unique id, and store that reference as a process variable (note: I'm not storing the whole vacation request record as a process variable). &lt;BR /&gt;&lt;BR /&gt;Then, if you need the vacation request record, you simply do: &lt;BR /&gt;String executionId = task.getExecutionId();&lt;BR /&gt;long vacationRequestId = runtimeService.getVariable(executionId, "vacactionRequestId");&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the suggestion and sample code. I think your suggestion was better idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chee Kin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 03:37:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-other-view-technolgies-integration/m-p/15224#M6626</guid>
      <dc:creator>limcheekin</dc:creator>
      <dc:date>2010-09-10T03:37:57Z</dc:date>
    </item>
  </channel>
</rss>

