<?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 Multi level approve task probem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52925#M31211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="https://lh4.googleusercontent.com/-m2LQMp2zZrk/TsJPnYhXUpI/AAAAAAAAEUw/jziJlzE4Fr0/s846/Capture.PNG" rel="nofollow noopener noreferrer"&gt;https://lh4.googleusercontent.com/-m2LQMp2zZrk/TsJPnYhXUpI/AAAAAAAAEUw/jziJlzE4Fr0/s846/Capture.PNG&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The idea is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. user makes a request&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. at the same time both Level 1&amp;nbsp; and boss should be able to see the approval task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. when Level 1approves boss should get the mail that he is on the move&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cut out all other branching for the simplicity of it, since the problems are flollowing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Inside L1 approval there is form with property L1comment because of which Exception is thrown, which was expected at first since once L1 approval was skipped, no L1comment has been defined. Then I tried to create "take" listener to make definition&amp;nbsp; of variable L1comment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but with no success, Im getting same exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;com.vaadin.event.ListenerMethod$MethodException&lt;BR /&gt;Cause: com.vaadin.event.ListenerMethod$MethodException&lt;BR /&gt;Cause: org.activiti.engine.ActivitiException: Unknown property used in expression&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;So at the end workaround was to create start form with L1comment variable but that is rather dirty and unwanted, so my question is: What is the right expression&amp;nbsp; to define initial variable inside listener? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After dirty workaround mentioned second problem poped out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when process starts and L1 approval is completed there are two tasks for Boss approval.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way that instance of boss approval created by request task gets destroyed when L1 approval task gets completed and new (more recent) instance of boss approval task appears?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, in case boss approves first L1 approval task should be destroyed. Is this possible?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 12:17:18 GMT</pubDate>
    <dc:creator>gnevzmaja</dc:creator>
    <dc:date>2011-11-15T12:17:18Z</dc:date>
    <item>
      <title>Multi level approve task probem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52925#M31211</link>
      <description>[img]https://lh4.googleusercontent.com/-m2LQMp2zZrk/TsJPnYhXUpI/AAAAAAAAEUw/jziJlzE4Fr0/s846/Capture.PNG[/img]The idea is as follows:1. user makes a request2. at the same time both Level 1&amp;nbsp; and boss should be able to see the approval task3. when Level 1approves boss should get the mail that he is on</description>
      <pubDate>Tue, 15 Nov 2011 12:17:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52925#M31211</guid>
      <dc:creator>gnevzmaja</dc:creator>
      <dc:date>2011-11-15T12:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multi level approve task probem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52926#M31212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to define process variable through listener or any way other than manually through form?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 11:53:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52926#M31212</guid>
      <dc:creator>gnevzmaja</dc:creator>
      <dc:date>2011-11-18T11:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multi level approve task probem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52927#M31213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Up, please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is this question too trivial to be answered, maybe?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 12:23:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52927#M31213</guid>
      <dc:creator>gnevzmaja</dc:creator>
      <dc:date>2011-11-28T12:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multi level approve task probem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52928#M31214</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;No I think the description is a little bit difficult to understand and it would also be better if you include the BPMN 2.0 XML file and the unit test that you are using to run it.&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>Mon, 28 Nov 2011 21:24:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-level-approve-task-probem/m-p/52928#M31214</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-28T21:24:19Z</dc:date>
    </item>
  </channel>
</rss>

