<?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: Is the task controller working at all ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70834#M45786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I may have spoken a little too quickly about the "required" attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that I've fixed the mapping format, the "read" and "write" attributes work perfectly, but "required" doesn't seem to have any effect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess it's an issue to add to the JIRA, even though it's not so bad, as one can easily get around this with mandatory properties or aspects in the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2006 11:15:02 GMT</pubDate>
    <dc:creator>rand</dc:creator>
    <dc:date>2006-11-16T11:15:02Z</dc:date>
    <item>
      <title>Is the task controller working at all ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70831#M45783</link>
      <description>Hi there, here's my problem :I am trying to determine if the task controller has any effect ('cause I've been having the feeling it has none for some time now). To do that, I've created a very simple task model and a test workflow.workflow :[size=75](…)&amp;nbsp;&amp;nbsp; &amp;lt;start-state name="Start"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ta</description>
      <pubDate>Wed, 15 Nov 2006 15:28:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70831#M45783</guid>
      <dc:creator>rand</dc:creator>
      <dc:date>2006-11-15T15:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is the task controller working at all ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70832#M45784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rand,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Task controllers within Alfresco are no different to task controllers in any other JBoss jBPM application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's one issue in your process definition.&amp;nbsp; The variables names are incorrectly referenced - the :'s should be replaced with _'s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;variable name="ecm_2" access="read" mapped-name="ecm_m12"/&amp;gt; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, not all aspects of jPDL (i.e. scripting/expressions) support : in a name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The model definition etc should continue to use :.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the m11 property isn't mandatory (neither in the first task nor in the second)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll check this one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Since properties with identical names in different task types are forbidden, I had defined one "base task type" of which every task in my workflow was a child.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;To get around this, define an aspect for the common properties across all tasks.&amp;nbsp; Then, for each task type, define the aspect as mandatory (using the &amp;lt;mandatory-aspect&amp;gt; element in the content model).&amp;nbsp; That way, you don't have to derive from a common task type (e.g. the start task, in your case).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would use the model to declare mandatory properties.&amp;nbsp; The web-client etc will honour the model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 18:45:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70832#M45784</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-11-15T18:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is the task controller working at all ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70833#M45785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot David, your reply should help me greatly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;the m11 property isn't mandatory (neither in the first task nor in the second)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I'll check this one.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't had time to test again with the correct controller format ( _ instead of : ), but I guess the only reason properties weren't mandatory was that they weren't correctly mapped to the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the aspects tip as well, with that and the controller I should be able to do everything I want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 10:37:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70833#M45785</guid>
      <dc:creator>rand</dc:creator>
      <dc:date>2006-11-16T10:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is the task controller working at all ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70834#M45786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I may have spoken a little too quickly about the "required" attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that I've fixed the mapping format, the "read" and "write" attributes work perfectly, but "required" doesn't seem to have any effect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess it's an issue to add to the JIRA, even though it's not so bad, as one can easily get around this with mandatory properties or aspects in the model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 11:15:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-the-task-controller-working-at-all/m-p/70834#M45786</guid>
      <dc:creator>rand</dc:creator>
      <dc:date>2006-11-16T11:15:02Z</dc:date>
    </item>
  </channel>
</rss>

