<?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: Problems with Activiti Mail Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22579#M10849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;2) In probe, can you check the tab "database" and see what's inside ACT_RE_PROCDEF table. Do you see the new version of the process in there?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, after deleting the previous deployment and redeploying a new one is added with a different deployment id. But the behaviour is still the same. I tried to change a word in my email task but it does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: When redeploying without deleting the old deployment in first place a new process is created with version number 2. Starting this process works fine and all changes are shown. But after deleting the deployments and adding a new one the original process (which should not be there anymore) is still started. Any help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT2: This really starts to annoy me. Is there something like a cache? I had around 15 mailtest.bar deployed just to test different features. After deleting them in Probe und redeploying (using Ant) the engine really uses the first version of the process, which should NOT exist anymore, because there were ~15 different versions after that. I now have to deploy my bar about 16 times in order to get the new results. So could someone please tell me whether I am doing something wrong or if this is just a bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT3: This seems to be a bug or misusage in/of Ant deploying. When uploaded via Probe the process works fine. Please find my Ant build.xml here -&amp;gt; &lt;/SPAN&gt;&lt;A href="http://pastebin.com/NA1MH6RV" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/NA1MH6RV&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Dec 2010 15:19:09 GMT</pubDate>
    <dc:creator>markushbm</dc:creator>
    <dc:date>2010-12-29T15:19:09Z</dc:date>
    <item>
      <title>Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22574#M10844</link>
      <description>Hi,I tried to implement a basic mailing process which just generates an email and sends it to a specific address. Basically, Iit is based on the mail example from the userguide.I have got some German chars (äöüß) in the text but after the email has been sent and arrives in my mailbox, the umlauts ar</description>
      <pubDate>Thu, 09 Dec 2010 17:23:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22574#M10844</guid>
      <dc:creator>markushbm</dc:creator>
      <dc:date>2010-12-09T17:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22575#M10845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) About the email, are you using a HTML-mail? If so, these characters should be escaped (eg. ë&amp;nbsp; -&amp;gt; &amp;amp;euml&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;. You can find a lot of libraries that can do this for you, or FCK-editors (if the text comes from webpage). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) In probe, can you check the tab "database" and see what's inside ACT_RE_PROCDEF table. Do you see the new version of the process in there?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 18:10:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22575#M10845</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2010-12-10T18:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22576#M10846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solve this modifying MailActivityBehavior.class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;nbsp; protected HtmlEmail createHtmlEmail(String text, String html) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HtmlEmail email = new HtmlEmail();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; email.setCharset("ISO-8859-15");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; email.setHtmlMsg(html);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (text != null) { // for email clients that don't support html&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; email.setTextMsg(text);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return email;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } catch (EmailException e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new ActivitiException("Could not create HTML email", e);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;frederik solution 1: is not valid for variables (aren't escaped).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 08:12:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22576#M10846</guid>
      <dc:creator>jcosano</dc:creator>
      <dc:date>2010-12-15T08:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22577#M10847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;jcosano,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good point about the variables not being escaped when mail is sent as HTML! Can you create an issue in JIRA for this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 09:08:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22577#M10847</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2010-12-15T09:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22578#M10848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-454" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-454&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;done!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 09:17:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22578#M10848</guid>
      <dc:creator>jcosano</dc:creator>
      <dc:date>2010-12-15T09:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22579#M10849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;2) In probe, can you check the tab "database" and see what's inside ACT_RE_PROCDEF table. Do you see the new version of the process in there?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, after deleting the previous deployment and redeploying a new one is added with a different deployment id. But the behaviour is still the same. I tried to change a word in my email task but it does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: When redeploying without deleting the old deployment in first place a new process is created with version number 2. Starting this process works fine and all changes are shown. But after deleting the deployments and adding a new one the original process (which should not be there anymore) is still started. Any help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT2: This really starts to annoy me. Is there something like a cache? I had around 15 mailtest.bar deployed just to test different features. After deleting them in Probe und redeploying (using Ant) the engine really uses the first version of the process, which should NOT exist anymore, because there were ~15 different versions after that. I now have to deploy my bar about 16 times in order to get the new results. So could someone please tell me whether I am doing something wrong or if this is just a bug?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT3: This seems to be a bug or misusage in/of Ant deploying. When uploaded via Probe the process works fine. Please find my Ant build.xml here -&amp;gt; &lt;/SPAN&gt;&lt;A href="http://pastebin.com/NA1MH6RV" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/NA1MH6RV&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 15:19:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22579#M10849</guid>
      <dc:creator>markushbm</dc:creator>
      <dc:date>2010-12-29T15:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22580#M10850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your ant xml looks OK on first sight.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you start your process instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a cache of process definitions internally, but it always checks if it is using the latest version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You keep the same process key every time ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 11:57:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22580#M10850</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-01-03T11:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22581#M10851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With process key you mean the process id, e.g. vacationRequest which will be vacationRequest:1 if called via REST API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm starting processes directly from Activiti Explorer and/or the REST API. I need to reconfigure an already deployed very often, because I am developing it step by step. So, to change a typo in a form, I delete the deployment (is there an Ant way to do this instead of going to Activiti Probe and deleting the .bar?) und redeploy the new bar to Activiti. With Ant only new versions of the process (e.g. vacationRequest:5, do I have to explicitly call it in my REST client or is vacationRequest enough?) will work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jan 2011 17:58:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22581#M10851</guid>
      <dc:creator>markushbm</dc:creator>
      <dc:date>2011-01-03T17:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22582#M10852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are developing it step by step, it is definitely advisable to test your processes using unit tests. This is way will be much more quicker, and you will gain the confidence that the process doesnt break later on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I verified the REST API, and indeed you need to provide the id, not the key alone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll ping the REST developer that this definitely would be nice to have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding to your problem: I cannot realky reproduce it: i can keep deploying, and when I click the new version in Explorer; it starts up correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you describe anything you are doing besides that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 06:47:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22582#M10852</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-01-04T06:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22583#M10853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Markus, I've been able to reproduce your problem, and checking why it is happening.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 15:50:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22583#M10853</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-01-06T15:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22584#M10854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I know the cause: both the process engine that is created during the ant deployment and the one that is running on the server have their own process definition caches, which us a key that is not replaced on one of the two.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll create a jira issue for it and fix it asap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 09:47:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22584#M10854</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-01-07T09:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Activiti Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22585#M10855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your replies, Joram!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please post the JIRA issue ID? I would like to keep an eye on that. &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Found it -&amp;gt; &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-505" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-505&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 02:03:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-activiti-mail-task/m-p/22585#M10855</guid>
      <dc:creator>markushbm</dc:creator>
      <dc:date>2011-01-10T02:03:31Z</dc:date>
    </item>
  </channel>
</rss>

