<?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: Issue with Multi-Instance and Script Tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118814#M83806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As you surmise Markus, the error cited is an XML validation error. I see it in v5.11. It looks like the Eclipse Designer is putting the 'multiInstanceLoopCharacteristics' (MILC) element in the wrong place, after the 'script' element. I moved the MILC element to first within the 'scriptTask' then successfully validated and ran. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before, generated by the Designer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;scriptTask …&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;script&amp;gt;…&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;multiInstanceLoopCharacteristic …/&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;After hand edit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;scriptTask …&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;multiInstanceLoopCharacteristic …/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;script&amp;gt;…&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;My XML schema knowledge is a bit rusty, so cannot say exactly why this is a problem – something to do with the 'scriptTask' inheritance relationship. The schema really &lt;/SPAN&gt;&lt;EM&gt;should&lt;/EM&gt;&lt;SPAN&gt; be more flexible. Regardless, it is standard BPMN2, so the problem seems to be in the Designer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am happy to enter a JIRA ticket with sample XML, but need a codehaus JIRA account.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2013 16:43:05 GMT</pubDate>
    <dc:creator>mikejbrady</dc:creator>
    <dc:date>2013-03-12T16:43:05Z</dc:date>
    <item>
      <title>Issue with Multi-Instance and Script Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118812#M83804</link>
      <description>Hi,There seems to be an issue with multi-instance configurations and script tasks.The following exception is thrown upon startup of the engine: ActivitiException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'multiInstanceLoopCharacteristics'. No child element is expected</description>
      <pubDate>Thu, 22 Nov 2012 14:27:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118812#M83804</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2012-11-22T14:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Multi-Instance and Script Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118813#M83805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you paste your relevant process xml?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you already try to wrap it in CDATA?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 12:08:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118813#M83805</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-11-23T12:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Multi-Instance and Script Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118814#M83806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As you surmise Markus, the error cited is an XML validation error. I see it in v5.11. It looks like the Eclipse Designer is putting the 'multiInstanceLoopCharacteristics' (MILC) element in the wrong place, after the 'script' element. I moved the MILC element to first within the 'scriptTask' then successfully validated and ran. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before, generated by the Designer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;scriptTask …&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;script&amp;gt;…&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;multiInstanceLoopCharacteristic …/&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;After hand edit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;scriptTask …&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;multiInstanceLoopCharacteristic …/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;script&amp;gt;…&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;My XML schema knowledge is a bit rusty, so cannot say exactly why this is a problem – something to do with the 'scriptTask' inheritance relationship. The schema really &lt;/SPAN&gt;&lt;EM&gt;should&lt;/EM&gt;&lt;SPAN&gt; be more flexible. Regardless, it is standard BPMN2, so the problem seems to be in the Designer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am happy to enter a JIRA ticket with sample XML, but need a codehaus JIRA account.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 16:43:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118814#M83806</guid>
      <dc:creator>mikejbrady</dc:creator>
      <dc:date>2013-03-12T16:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Multi-Instance and Script Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118815#M83807</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;The error is now fixed for the 5.12 release of the Designer. I expect to release the 5.12 in a couple of weeks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for raising the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2013 16:36:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118815#M83807</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-03-13T16:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Multi-Instance and Script Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118816#M83808</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;Great to hear that!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 16:19:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-multi-instance-and-script-tasks/m-p/118816#M83808</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2013-03-14T16:19:29Z</dc:date>
    </item>
  </channel>
</rss>

