<?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: error in Subprocess-0.6.0 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8297#M2662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi DEV,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;looks like you've found a bug. Even with the fix for the issue I mentioned in 0.8.0, there's still a bug when you have two nested subprocesses. This has to do with the way the filename for the subprocess is calculated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll have to fix this yourself if you're sticking with 0.6.0, so here's how:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open up the org.activiti.designer.eclipse.util.Util.getSubProcessURI(Diagram, String). The method body should be this instead of what's in there now:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;final URI baseURI = diagram.eResource().getURI().trimFileExtension();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final String calculatedExtension = subprocessId.replaceAll("_", ".");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final URI subProcessURI = baseURI.appendFileExtension(calculatedExtension).appendFileExtension(diagram.eResource().getURI().fileExtension());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;return subProcessURI;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug that method when saving your main process and it should pass back a valid URI for BOTH subprocesses.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 19:57:31 GMT</pubDate>
    <dc:creator>tiesebarrell</dc:creator>
    <dc:date>2011-02-23T19:57:31Z</dc:date>
    <item>
      <title>error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8292#M2657</link>
      <description>hi,i created 2 levels of Subproces's one inside other…when i try to save, XML file is not getting generated…for some reason i am still using 0.6.0 version..i don't know if this error is present in 0.7.0 too…. :? Steps I followed:-1) Drag start-end palette.2)Drag Subprocess.3)Get inside this SubProce</description>
      <pubDate>Wed, 23 Feb 2011 11:10:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8292#M2657</guid>
      <dc:creator>dev1</dc:creator>
      <dc:date>2011-02-23T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8293#M2658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i don't know if this error is present in 0.7.0 too…. :?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then please try, or search the Jira if there has been an issue reported (and fixed or not)&amp;nbsp; &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 11:18:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8293#M2658</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-02-23T11:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8294#M2659</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;SPAN&gt;I am trying to modify the code of 0.6.0 so its important for me to know the exact working of 0.6.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 11:27:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8294#M2659</guid>
      <dc:creator>dev1</dc:creator>
      <dc:date>2011-02-23T11:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8295#M2660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;DEV,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if the BPMN is not generated, there can be two reasons:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Your process is not valid. If this is the case, there will be markers in the Problems view for either the main process or the subprocesses. There is a known bug with conflicting ids from processes and subprocesses, which has been fixed for the next release. The issue is here: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-627" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-627&lt;/A&gt;&lt;SPAN&gt; . This might be the problem, but of course it could also be something entirely different. You can look in trunk for the fix and manually apply this if you need to stick with 0.6.0. I think the fix is in BPMN20ExportMarshaller#createSubProcessXML(). It prefixes the id to avoid conflicts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) An exception occurred during marshalling. In that case, there should be a stacktrace in the console where Eclipse is logging (if you started Designer from Eclipse, in the main Eclipse's console, if you started Eclipse with AD standalone, in the log file in the workspace you're using).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 12:36:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8295#M2660</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-02-23T12:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8296#M2661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi Tiese,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your humble response, i am a big fan of you patience and enthusiasm towards the Activiti community.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked both the option you provided me in&amp;nbsp; the reply, but i fear i am facing some different type of error,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to be more clear&amp;nbsp; attaching here an Activiti project(test1.zip) where i am facing the trouble, i tried the same thing with 0.7.0, but the error was same here too….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;one more thing, i would love to see IND VS ENG match for the 2011 CWC finals &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;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DEV&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 16:51:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8296#M2661</guid>
      <dc:creator>dev1</dc:creator>
      <dc:date>2011-02-23T16:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8297#M2662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi DEV,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;looks like you've found a bug. Even with the fix for the issue I mentioned in 0.8.0, there's still a bug when you have two nested subprocesses. This has to do with the way the filename for the subprocess is calculated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll have to fix this yourself if you're sticking with 0.6.0, so here's how:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open up the org.activiti.designer.eclipse.util.Util.getSubProcessURI(Diagram, String). The method body should be this instead of what's in there now:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;final URI baseURI = diagram.eResource().getURI().trimFileExtension();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final String calculatedExtension = subprocessId.replaceAll("_", ".");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final URI subProcessURI = baseURI.appendFileExtension(calculatedExtension).appendFileExtension(diagram.eResource().getURI().fileExtension());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;return subProcessURI;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug that method when saving your main process and it should pass back a valid URI for BOTH subprocesses.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 19:57:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8297#M2662</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-02-23T19:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8298#M2663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Even with the fix for the issue I mentioned in 0.8.0, there's still a bug when you have two nested subprocesses.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tiese,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version will fix it? Is important to me for business process split.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 10:39:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8298#M2663</guid>
      <dc:creator>totyumengr</dc:creator>
      <dc:date>2011-02-24T10:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: error in Subprocess-0.6.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8299#M2664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;totyumengr,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm hopeful there will be a re-write of the embedded subprocess in 0.8.0, Tijs Rademakers is working on it at the moment. This will eliminate the problem because your subprocesses will then be embedded in the same file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 13:31:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-subprocess-0-6-0/m-p/8299#M2664</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-02-24T13:31:34Z</dc:date>
    </item>
  </channel>
</rss>

