<?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 Set tenantId for instance of shared process definition in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24582#M10699</link>
    <description>&lt;P&gt;I am currently considering using Activiti or Camunda in my project. In Camunda I can set a tenantId later on using a so called TenantProvider that is registered upon creating the process engine. I use this to set a tenant to an instance of a shared process definition.&lt;/P&gt;&lt;P&gt;Is this possible in Activiti in one way or another? I found the following call does&amp;nbsp;&lt;STRONG&gt;NOT&amp;nbsp;&lt;/STRONG&gt;set the tenant correctly but sets empty string (I believe this is the default tenantId in Activiti since null gives problems with some databases):&lt;/P&gt;&lt;PRE&gt;this.runtimeService.createProcessInstanceBuilder()
			.processDefinitionId(processDefinitionId)
			.tenantId(tenantId)
			.start();&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I use Activiti 6.0.0&lt;/P&gt;&lt;P&gt;PS:&amp;nbsp;&lt;SPAN&gt;I should maybe add for clarification that the deployment and therefore the process definition does&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NOT&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;have a tenantId because I want it to be used by all tenants.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 08:50:37 GMT</pubDate>
    <dc:creator>joro</dc:creator>
    <dc:date>2019-12-04T08:50:37Z</dc:date>
    <item>
      <title>Set tenantId for instance of shared process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24582#M10699</link>
      <description>&lt;P&gt;I am currently considering using Activiti or Camunda in my project. In Camunda I can set a tenantId later on using a so called TenantProvider that is registered upon creating the process engine. I use this to set a tenant to an instance of a shared process definition.&lt;/P&gt;&lt;P&gt;Is this possible in Activiti in one way or another? I found the following call does&amp;nbsp;&lt;STRONG&gt;NOT&amp;nbsp;&lt;/STRONG&gt;set the tenant correctly but sets empty string (I believe this is the default tenantId in Activiti since null gives problems with some databases):&lt;/P&gt;&lt;PRE&gt;this.runtimeService.createProcessInstanceBuilder()
			.processDefinitionId(processDefinitionId)
			.tenantId(tenantId)
			.start();&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I use Activiti 6.0.0&lt;/P&gt;&lt;P&gt;PS:&amp;nbsp;&lt;SPAN&gt;I should maybe add for clarification that the deployment and therefore the process definition does&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NOT&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;have a tenantId because I want it to be used by all tenants.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 08:50:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24582#M10699</guid>
      <dc:creator>joro</dc:creator>
      <dc:date>2019-12-04T08:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set tenantId for instance of shared process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24583#M10700</link>
      <description />
      <pubDate>Wed, 04 Dec 2019 08:52:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24583#M10700</guid>
      <dc:creator>joro</dc:creator>
      <dc:date>2019-12-04T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set tenantId for instance of shared process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24584#M10701</link>
      <description>&lt;P&gt;Is there no way to achieve this?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 07:49:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24584#M10701</guid>
      <dc:creator>joro</dc:creator>
      <dc:date>2019-12-11T07:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set tenantId for instance of shared process definition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24585#M10702</link>
      <description>&lt;P&gt;AFAIK, multi-tenancy is not supported by activiti community, you may need to opt for &lt;A href="https://docs.alfresco.com/process-services1.9/topics/multi_schema_multi_tenancy_ms_mt.html" target="_self" rel="nofollow noopener noreferrer"&gt;APS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 08:19:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-tenantid-for-instance-of-shared-process-definition/m-p/24585#M10702</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-12-11T08:19:31Z</dc:date>
    </item>
  </channel>
</rss>

