<?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: Unable to update the tenant id of a task. setTenantId() doesnt work in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213905#M167035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Hari. So does that mean, once a process instance is created with a tenant id, all the tasks in the proc instance will have the same tenant id and it is not possible for tasks within the proc inst have different tenant ids?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2016 07:48:22 GMT</pubDate>
    <dc:creator>vamsimp</dc:creator>
    <dc:date>2016-04-22T07:48:22Z</dc:date>
    <item>
      <title>Unable to update the tenant id of a task. setTenantId() doesnt work</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213903#M167033</link>
      <description>Hello,1. We have a process instance created using the tenant id, and we are trying to update the tenant id of the tasks inside the process instance so that people belonging to a different tenants could work on the tasks. We are doing this due to a business requirement but unfortunately we are not ab</description>
      <pubDate>Thu, 21 Apr 2016 19:48:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213903#M167033</guid>
      <dc:creator>vamsimp</dc:creator>
      <dc:date>2016-04-21T19:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update the tenant id of a task. setTenantId() doesnt work</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213904#M167034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Vamsi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I understood about multi tenancy in Activiti, you will have to set the tenant while deploying the BPM. So when you start the BPM and when the tasks get generated, they will be associated to that tenant. I dont think setting the tenant Id in the above mentioned way would work. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 05:15:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213904#M167034</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2016-04-22T05:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update the tenant id of a task. setTenantId() doesnt work</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213905#M167035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Hari. So does that mean, once a process instance is created with a tenant id, all the tasks in the proc instance will have the same tenant id and it is not possible for tasks within the proc inst have different tenant ids?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 07:48:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213905#M167035</guid>
      <dc:creator>vamsimp</dc:creator>
      <dc:date>2016-04-22T07:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update the tenant id of a task. setTenantId() doesnt work</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213906#M167036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. Thats true. All the tasks for that process instance will only be related to a specific tenant. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 08:09:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213906#M167036</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2016-04-22T08:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update the tenant id of a task. setTenantId() doesnt work</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213907#M167037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to update the tenant id of the task. It wont be possible to update the tenant id after the task is created, but you could do it while the task is being created. I was able to do it by implementing the ActivitiEventListener interface and overriding the OnEvent method. You could listen to the task created event and do the necessary. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So that way, I was able to set different tenant ids for tasks inside a single process, even though the process level tenant is different than the one I am setting &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2016 17:46:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213907#M167037</guid>
      <dc:creator>vamsimp</dc:creator>
      <dc:date>2016-04-23T17:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update the tenant id of a task. setTenantId() doesnt work</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213908#M167038</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;When a task is part of a process instance, we don't allow you to change the tenant id on a task level with the Activiti API. The whole process instance is part of a specific tenant. With the API we currently only support changing the tenant id for a whole deployment. But it's easy to add a custom SQL update statement to change the tenant id of course.&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>Mon, 25 Apr 2016 07:18:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-update-the-tenant-id-of-a-task-settenantid-doesnt-work/m-p/213908#M167038</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-04-25T07:18:25Z</dc:date>
    </item>
  </channel>
</rss>

