<?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 Behavior of CallActivity when deploying new versions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141624#M99213</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;If i have a deployment with a process (process1) containing a CallActivity starting another process (process2) then deploy a new version of these processes, what will the existing process instances of process1 start when reaching the CallActivity starting process2. The version from the old deployment, from which the process instance is started, or the new version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason that I am asking is that we have this situation where we have added some new parameters to process2 and now all existing instances from the old version is failing when starting(and executing) process2 with the message that the new property does not exist.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 10:51:53 GMT</pubDate>
    <dc:creator>ndt</dc:creator>
    <dc:date>2013-02-21T10:51:53Z</dc:date>
    <item>
      <title>Behavior of CallActivity when deploying new versions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141624#M99213</link>
      <description>HiIf i have a deployment with a process (process1) containing a CallActivity starting another process (process2) then deploy a new version of these processes, what will the existing process instances of process1 start when reaching the CallActivity starting process2. The version from the old deploym</description>
      <pubDate>Thu, 21 Feb 2013 10:51:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141624#M99213</guid>
      <dc:creator>ndt</dc:creator>
      <dc:date>2013-02-21T10:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of CallActivity when deploying new versions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141625#M99214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A call-activity by default, calls the latest version of the process that is configured in "calledElement".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:10:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141625#M99214</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-21T11:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of CallActivity when deploying new versions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141626#M99215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A call-activity by default, calls the latest version of the process that is configured in "calledElement".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What are the possibilities for having it call a older version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:12:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141626#M99215</guid>
      <dc:creator>ndt</dc:creator>
      <dc:date>2013-02-21T11:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of CallActivity when deploying new versions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141627#M99216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;&lt;BR /&gt; public void execute(ActivityExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; String processDefinitonKey = this.processDefinitonKey;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (processDefinitionExpression != null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processDefinitonKey = (String) processDefinitionExpression.getValue(execution);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessDefinitionImpl processDefinition = Context&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getProcessEngineConfiguration()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getDeploymentManager()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .findDeployedLatestProcessDefinitionByKey(processDefinitonKey);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PvmProcessInstance subProcessInstance = execution.createSubProcessInstance(processDefinition);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll have to extend the CallActivityBehavior to use, for example, a fixed processDefinition ID instead of a key in the field processDefinitionExpression (which corresponds to the BPMN calledElement). You can easily alter the ActivityBehaviorFactory used by the latests parser in order to accomplish this. If you're not able to wait for the 5.12 version, you'll have to use a BPMNParseListener and replace the ActivitiyBehaviour yourself when the process us parsed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:38:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/behavior-of-callactivity-when-deploying-new-versions/m-p/141627#M99216</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-21T12:38:48Z</dc:date>
    </item>
  </channel>
</rss>

