<?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 Dynamically Create CallActivity in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-callactivity/m-p/190941#M144071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to come up with a solution for dynamically calling another process as a subtask. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P1: T1 -&amp;gt; T2 -&amp;gt; T3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P2: T4 -&amp;gt; T5&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P3: T6 -&amp;gt; T7&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At task T2 the user will need either start process P2,&amp;nbsp; P3, or maybe one of each. Task T2 should not complete until all of those subprocesses are completed. The key here is which process to run will not be known until the user selects it from a dynamic list.&amp;nbsp; From the documentation I have seen, it sounds like CallActivity is the approach used to start a subprocess. I have not been able to figure out how to create and execute a CallActivity from the Java API. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any examples of dynamically creating a CallActivity as a subprocess with a dynamic called element? Is this even possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2015 17:41:57 GMT</pubDate>
    <dc:creator>mwooten1111</dc:creator>
    <dc:date>2015-07-22T17:41:57Z</dc:date>
    <item>
      <title>Dynamically Create CallActivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-callactivity/m-p/190941#M144071</link>
      <description>All,I'm trying to come up with a solution for dynamically calling another process as a subtask. Example&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;1: T1 -&amp;gt; T2 -&amp;gt; T3P2: T4 -&amp;gt; T5P3: T6 -&amp;gt; T7At task T2 the user will need either start process P2,&amp;nbsp; P3, or maybe one of each. Task T2 should not complete until all of those subprocesses</description>
      <pubDate>Wed, 22 Jul 2015 17:41:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-callactivity/m-p/190941#M144071</guid>
      <dc:creator>mwooten1111</dc:creator>
      <dc:date>2015-07-22T17:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Create CallActivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-callactivity/m-p/190942#M144072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michael,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are there any examples of dynamically creating a CallActivity as a subprocess with a dynamic called element?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;This feature is planned for activiti 6. To dynamically change process definition of currently running process&amp;nbsp; instance in activiti 5 is not so straight forward, but possible. (I think you do not need dynamic process definition change.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;At task T2 the user will need either start process P2, P3, or maybe one of each.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;use&amp;nbsp; Inclusive Gateway (examples: org.activiti.examples.bpmn.gateway.InclusiveGatewayTest)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Task T2 should not complete until all of those subprocesses are completed.&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Check whether inclusive gateway is wait state or not (more info: &lt;A href="http://activiti.org/userguide/index.html#bpmnConcurrencyAndTransactions" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#bpmnConcurrencyAndTransactions&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have not been able to figure out how to create and execute a CallActivity from the Java API.&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;example:&lt;BR /&gt;I do not understand the need,&amp;nbsp; but have a look on org.activiti.engine.impl.bpmn.behavior.CallActivityBehavior#execute implementation.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Martin&lt;BR /&gt;&lt;BR /&gt;Regard&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 06:23:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-callactivity/m-p/190942#M144072</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-07-23T06:23:29Z</dc:date>
    </item>
  </channel>
</rss>

