<?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: Overide UserTask with default complete status programmatical in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/overide-usertask-with-default-complete-status-programmatical/m-p/71766#M46520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have a reference to the taskId and the TaskService, you can simply mark the task complete:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;TaskService taskService= processEngine.getTaskService();&lt;BR /&gt;Task task = taskService.createTaskQuery().processVariableValueEquals("taskId", taskId).singleResult();&lt;BR /&gt;taskService.complete(task.getId());&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 22:42:03 GMT</pubDate>
    <dc:creator>mgriffith</dc:creator>
    <dc:date>2011-08-08T22:42:03Z</dc:date>
    <item>
      <title>Overide UserTask with default complete status programmatical</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overide-usertask-with-default-complete-status-programmatical/m-p/71764#M46518</link>
      <description>I am required to implement user task in an activiti workflow programmatically.&amp;nbsp; Is it possible to implement the user task with default success status and go ahead with execution of further tasks?&amp;nbsp; For instance: there are 2 tasks: START -&amp;gt;USERTASK-&amp;gt;SERVICE-&amp;gt;ENDI want the usertask should not</description>
      <pubDate>Mon, 01 Aug 2011 15:39:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overide-usertask-with-default-complete-status-programmatical/m-p/71764#M46518</guid>
      <dc:creator>prasad1</dc:creator>
      <dc:date>2011-08-01T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Overide UserTask with default complete status programmatical</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overide-usertask-with-default-complete-status-programmatical/m-p/71765#M46519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Look at the examples and testcases. Especially the testcases/examples for the usertasks. Most will be 'completed' programatically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 18:13:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overide-usertask-with-default-complete-status-programmatical/m-p/71765#M46519</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-08-01T18:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Overide UserTask with default complete status programmatical</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/overide-usertask-with-default-complete-status-programmatical/m-p/71766#M46520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have a reference to the taskId and the TaskService, you can simply mark the task complete:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;TaskService taskService= processEngine.getTaskService();&lt;BR /&gt;Task task = taskService.createTaskQuery().processVariableValueEquals("taskId", taskId).singleResult();&lt;BR /&gt;taskService.complete(task.getId());&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 22:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/overide-usertask-with-default-complete-status-programmatical/m-p/71766#M46520</guid>
      <dc:creator>mgriffith</dc:creator>
      <dc:date>2011-08-08T22:42:03Z</dc:date>
    </item>
  </channel>
</rss>

