<?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: Can we approve a task through Java API? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-we-approve-a-task-through-java-api/m-p/284868#M237998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should simply try using endTask method passing the taskId and review outcome as Approve. In your code snippet, you are passing null in the endTask method. Hence, it is taking the default Reject as the outcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 08:41:00 GMT</pubDate>
    <dc:creator>romschn</dc:creator>
    <dc:date>2015-06-15T08:41:00Z</dc:date>
    <item>
      <title>Can we approve a task through Java API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-we-approve-a-task-through-java-api/m-p/284867#M237997</link>
      <description>Hi All,I have a requirement, like one of the user task, say approve/reject task needs to be done automatically thorough Java API.I have written a code as shown below, to retrieve the list of tasks for a particular user and tried to approve programatically.List&amp;lt;WorkflowTask&amp;gt; workflowTaskList =&amp;nbsp;</description>
      <pubDate>Mon, 15 Jun 2015 08:20:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-we-approve-a-task-through-java-api/m-p/284867#M237997</guid>
      <dc:creator>satheeshkumar</dc:creator>
      <dc:date>2015-06-15T08:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve a task through Java API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-we-approve-a-task-through-java-api/m-p/284868#M237998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should simply try using endTask method passing the taskId and review outcome as Approve. In your code snippet, you are passing null in the endTask method. Hence, it is taking the default Reject as the outcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 08:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-we-approve-a-task-through-java-api/m-p/284868#M237998</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2015-06-15T08:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can we approve a task through Java API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-we-approve-a-task-through-java-api/m-p/284869#M237999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks romchn, that works perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 08:11:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-we-approve-a-task-through-java-api/m-p/284869#M237999</guid>
      <dc:creator>satheeshkumar</dc:creator>
      <dc:date>2015-06-16T08:11:19Z</dc:date>
    </item>
  </channel>
</rss>

