<?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 Start activiti process through Java code in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-activiti-process-through-java-code/m-p/231934#M185064</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;&amp;nbsp; When I call runtimeService.startProcessInstanceByKey(processName, processVariables), activiti process gets started identified by processName. Suppose I am in clustered environment and start process using above code. Will activiti process run in a different node? My requirement is that I want this process to be picked by any node and not necessarily the node where this code was executed. If not this way, how can I achieve this? Using message instead of processId (as below) getProcessEngine().getRuntimeService().startProcessInstanceByMessage('somemessage')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; to start process would help me achieve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ambika&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Mar 2016 08:09:27 GMT</pubDate>
    <dc:creator>ambikakhatri</dc:creator>
    <dc:date>2016-03-19T08:09:27Z</dc:date>
    <item>
      <title>Start activiti process through Java code</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-activiti-process-through-java-code/m-p/231934#M185064</link>
      <description>Hi,&amp;nbsp; When I call runtimeService.startProcessInstanceByKey(processName, processVariables), activiti process gets started identified by processName. Suppose I am in clustered environment and start process using above code. Will activiti process run in a different node? My requirement is that I want th</description>
      <pubDate>Sat, 19 Mar 2016 08:09:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-activiti-process-through-java-code/m-p/231934#M185064</guid>
      <dc:creator>ambikakhatri</dc:creator>
      <dc:date>2016-03-19T08:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Start activiti process through Java code</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-activiti-process-through-java-code/m-p/231935#M185065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, if you use startProcessInstanceByKey it will execute where it's called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To execute on other nodes, make the second step of your process async. The job executor (potentially on other nodes) will pick it up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise, you'll need to add your own messaging infrastructure that calls the startProcessInstanceByKey method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 12:28:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-activiti-process-through-java-code/m-p/231935#M185065</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-25T12:28:55Z</dc:date>
    </item>
  </channel>
</rss>

