<?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: Complete a pending task using REST API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229788#M182918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. For the POST call this is the model {"values":{"request":"123"},"outcome":"Confirm"}. For the PUT call there is no need for json body (mentioned in Alfresco activiti documentation)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2016 12:49:14 GMT</pubDate>
    <dc:creator>sindhana</dc:creator>
    <dc:date>2016-05-20T12:49:14Z</dc:date>
    <item>
      <title>Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229783#M182913</link>
      <description>Hi,I queried the pending tasks within a process using the REST call POST api/enterprise/tasks/query, which returned set of tasks. When I tried to complete the task using POST api/enterprise/task-forms/{taskId} and PUT api/enterprise/tasks/{taskId}/action/complete, I'm getting the forbbidden error (H</description>
      <pubDate>Thu, 19 May 2016 08:50:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229783#M182913</guid>
      <dc:creator>sindhana</dc:creator>
      <dc:date>2016-05-19T08:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229784#M182914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I understand that we can use either one of call to complete a task. I was trying to use one at a time to test which one is working. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how I tested. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using postman app (google chrome extension), I made a call with my activiti login credentials. It throwed Access forbidden error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(OR)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Within JAVA delegate class, made the rest call. I'm getting the same error again&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 12:42:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229784#M182914</guid>
      <dc:creator>sindhana</dc:creator>
      <dc:date>2016-05-20T12:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229785#M182915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for you reply!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 12:42:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229785#M182915</guid>
      <dc:creator>sindhana</dc:creator>
      <dc:date>2016-05-20T12:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229786#M182916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you passed JSON data with it? which requires for your form to complete…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 12:46:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229786#M182916</guid>
      <dc:creator>shagufta1</dc:creator>
      <dc:date>2016-05-20T12:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229787#M182917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you provide some more details like how you are posting data to the Activiti server… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also afaik you need not to call PUT api/enterprise/tasks/{taskId}/action/complete separately to complete the task after submitting the form details with POST api/enterprise/task-forms/{taskId} call it will automatically complete the task…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 12:47:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229787#M182917</guid>
      <dc:creator>shagufta1</dc:creator>
      <dc:date>2016-05-20T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229788#M182918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. For the POST call this is the model {"values":{"request":"123"},"outcome":"Confirm"}. For the PUT call there is no need for json body (mentioned in Alfresco activiti documentation)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 12:49:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229788#M182918</guid>
      <dc:creator>sindhana</dc:creator>
      <dc:date>2016-05-20T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229789#M182919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In your JSON,&amp;nbsp; "request" is the id of one of your form field right? Can you give a try without specifying the outcome…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also PUT api/enterprise/tasks/{taskId}/action/complete is for completing the standalone task which is not associated with a process or without a task form… So in your case I think the POST call should work…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:11:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229789#M182919</guid>
      <dc:creator>shagufta1</dc:creator>
      <dc:date>2016-05-20T13:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229790#M182920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for replying the question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I removed "outcome" from the POST call json body and it resolved the issue. I'm able to cancel the request now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the information about PUT rest call too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 05:17:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229790#M182920</guid>
      <dc:creator>sindhana</dc:creator>
      <dc:date>2016-05-23T05:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Complete a pending task using REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229791#M182921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying t do the same thing as Sindhana. I am using the POST to&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;api/enterprise/task-forms/{taskId}. I do not have a an outcome in my json body. The user task has a form with 1 field on it with the id - "completedByInitials" and the body looks like this (from Postman)&amp;nbsp;{"values":{"completedByInitials":"JDG"}}.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;I am using basic auth, with the Admin credentials and impersonation with "activiti-user &lt;A href="mailto:someone@somewher.com&amp;quot;" rel="nofollow noopener noreferrer"&gt;someone@somewher.com"&lt;/A&gt; and&amp;nbsp;activiti-user-value-type "userEmailType". These are&amp;nbsp;the same values I use to claim the task.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Any thoughts?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 23:45:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-a-pending-task-using-rest-api/m-p/229791#M182921</guid>
      <dc:creator>leealt</dc:creator>
      <dc:date>2016-12-30T23:45:32Z</dc:date>
    </item>
  </channel>
</rss>

