<?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: Newbie multitenancy questions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198515#M151645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Relax, this is an open source forum, we try to answer in a best effort way, but many people are on holiday now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; I still don't get the idea how the Activiti ProcessEngine gets its own tenantID and starts only those processes which have the correct tenantID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You deploy a certain process definition and provide a tenant id. All process instances derived from this process definition inherit this tenant id. Note that you pass the tenantId when calling the runtimeService.startProcessInstanceByKey() for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your example: the process definition was deployed with a certain tenantId. The timer inherited that tenantId. The process instance that is started will inherit the same tenantId.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 19:09:00 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-10-28T19:09:00Z</dc:date>
    <item>
      <title>Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198511#M151641</link>
      <description>Hello,I've read about multitenancy in Activiti and have some questions about it.Okay, for example we might have two Activiti REST webapps connected to the same database where processes with two different tenantIDs are deployed. 1. How does webapp identify itself with tenantID? I didn't find anything</description>
      <pubDate>Tue, 20 Oct 2015 13:11:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198511#M151641</guid>
      <dc:creator>lossril</dc:creator>
      <dc:date>2015-10-20T13:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198512#M151642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. When you use multitenancy, you always need to pass the tenantId. How you get this tenantId from your current user, that is up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Again, you will need to provide the tenantId. There is a non-MT method, and a MT-enabled methode, like&amp;nbsp;&amp;nbsp; void signalEventReceivedWithTenantId(String signalName, String tenantId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Same. The timer is created in the context of a tenant, when you deployed the process definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:33:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198512#M151642</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-20T17:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198513#M151643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I still don't get the idea how the Activiti ProcessEngine gets its own tenantID and starts only those processes which have the correct tenantID. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, I create the deployment with the process starting by timer, it would have some tenantID 'rest1'. We have two(or more) REST webapps or any other ProcessEngine instances poking the same database. So what happens when the time comes for process to start? Which ProcessEngine would create the process instance? Would they create several process instances?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the point about signals having their tenantIDs though, so when signal arrives(e.g. via REST), it triggers only for the process instances which have the tenantID. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 07:40:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198513#M151643</guid>
      <dc:creator>lossril</dc:creator>
      <dc:date>2015-10-21T07:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198514#M151644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, can someone explain it to me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 15:57:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198514#M151644</guid>
      <dc:creator>lossril</dc:creator>
      <dc:date>2015-10-26T15:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198515#M151645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Relax, this is an open source forum, we try to answer in a best effort way, but many people are on holiday now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; I still don't get the idea how the Activiti ProcessEngine gets its own tenantID and starts only those processes which have the correct tenantID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You deploy a certain process definition and provide a tenant id. All process instances derived from this process definition inherit this tenant id. Note that you pass the tenantId when calling the runtimeService.startProcessInstanceByKey() for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your example: the process definition was deployed with a certain tenantId. The timer inherited that tenantId. The process instance that is started will inherit the same tenantId.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 19:09:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198515#M151645</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-28T19:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198516#M151646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, sure, sorry. I've just bumped the thread so it wouldn't be buried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay, this makes a bit more sense now, thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 07:46:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198516#M151646</guid>
      <dc:creator>lossril</dc:creator>
      <dc:date>2015-11-02T07:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198517#M151647</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;I'm not sure the OP's question #2 was ever answered regarding signals that are tenant-aware…&amp;nbsp; I TOO have the same question &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking at the 5.19.0.2 API's :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeService.signal(String executionId)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeService.signal(String executionId, Map&amp;lt;String, Object&amp;gt; processVariables)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Neither of them pass the tenantId.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a different way to pass a tenantId via a Signal that I am missing, perhaps as a special, reserved processVariable key?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 23:19:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198517#M151647</guid>
      <dc:creator>jwestra</dc:creator>
      <dc:date>2016-02-23T23:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198518#M151648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, and neither should pass the tenant id. signal is executionId bound. execution ids are unique accross tenants.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're confusing it with signalEventReceived (the BPMN signal), which does have it: signalEventReceivedWithTenantId().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 10:15:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198518#M151648</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-24T10:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie multitenancy questions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198519#M151649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hah.&amp;nbsp; So many ids and keys to keep track of in my head… &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; That makes perfect sense.&amp;nbsp; Thanks!&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 20:28:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/newbie-multitenancy-questions/m-p/198519#M151649</guid>
      <dc:creator>jwestra</dc:creator>
      <dc:date>2016-02-24T20:28:19Z</dc:date>
    </item>
  </channel>
</rss>

