<?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 DelegationState.PENDING effective? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/is-delegationstate-pending-effective/m-p/96540#M66349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also found the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With the description of taskService.complete in Activiti JavaDocs, it claim that "Throws:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivitiException - when no task exists with the given id &lt;/SPAN&gt;&lt;STRONG&gt;or when this task is DelegationState.PENDING delegation.&lt;/STRONG&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the task's delegation state is PENDING, the complete method will throw a ActivitiException, But in the Jieyee's sample code, it not do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please focus that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1,After the delegate method is executed, the task's delegation state is PENDING;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2,When execute the complete method, it don't throw the ActivitiException.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2012 02:23:26 GMT</pubDate>
    <dc:creator>chaoyy</dc:creator>
    <dc:date>2012-02-08T02:23:26Z</dc:date>
    <item>
      <title>Is DelegationState.PENDING effective?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-delegationstate-pending-effective/m-p/96539#M66348</link>
      <description>A method added to FinancialReportProcessTest.java in activiti-engine-examples.&amp;nbsp;&amp;nbsp;&amp;nbsp; @Deployment(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "org/activiti/examples/bpmn/usertask/FinancialReportProcess.bpmn20.xml"})&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; public void testDelegate() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("financia</description>
      <pubDate>Wed, 08 Feb 2012 01:56:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-delegationstate-pending-effective/m-p/96539#M66348</guid>
      <dc:creator>jieyee</dc:creator>
      <dc:date>2012-02-08T01:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is DelegationState.PENDING effective?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-delegationstate-pending-effective/m-p/96540#M66349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also found the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With the description of taskService.complete in Activiti JavaDocs, it claim that "Throws:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivitiException - when no task exists with the given id &lt;/SPAN&gt;&lt;STRONG&gt;or when this task is DelegationState.PENDING delegation.&lt;/STRONG&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the task's delegation state is PENDING, the complete method will throw a ActivitiException, But in the Jieyee's sample code, it not do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please focus that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1,After the delegate method is executed, the task's delegation state is PENDING;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2,When execute the complete method, it don't throw the ActivitiException.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2012 02:23:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-delegationstate-pending-effective/m-p/96540#M66349</guid>
      <dc:creator>chaoyy</dc:creator>
      <dc:date>2012-02-08T02:23:26Z</dc:date>
    </item>
  </channel>
</rss>

