<?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 activiti-cdi StartTask() don't work in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9599#M4269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, businessProcess.StratTask(taskId, true) dont work&lt;/P&gt;&lt;P&gt;i try to debug it and i found&lt;/P&gt;&lt;P&gt;"Task currentTask = associationManager.getTask();" on the&amp;nbsp;function StartTask / BusinessProcess class is null&lt;/P&gt;&lt;P&gt;error on the log&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Avertissement: #{businessProcess.completeTask(true)}: org.activiti.cdi.ActivitiCdiException: No task associated. Call businessProcess.startTask() first.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;help please&lt;/P&gt;&lt;P&gt;thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 May 2017 07:53:00 GMT</pubDate>
    <dc:creator>idireneyoucef</dc:creator>
    <dc:date>2017-05-28T07:53:00Z</dc:date>
    <item>
      <title>activiti-cdi StartTask() don't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9599#M4269</link>
      <description>Hi, businessProcess.StratTask(taskId, true) dont worki try to debug it and i found"Task currentTask = associationManager.getTask();" on the&amp;nbsp;function StartTask / BusinessProcess class is nullerror on the logAvertissement: #{businessProcess.completeTask(true)}: org.activiti.cdi.ActivitiCdiException: N</description>
      <pubDate>Sun, 28 May 2017 07:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9599#M4269</guid>
      <dc:creator>idireneyoucef</dc:creator>
      <dc:date>2017-05-28T07:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-cdi StartTask() don't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9600#M4270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you could have a look at this forum question if you haven't already -&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/230810"&gt;No task associated. Call businessProcess.startTask()&lt;/A&gt;&amp;nbsp;?&amp;nbsp;Could you provide code snippets like the snippets on that question? A bit more background on your setup would also help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 10:25:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9600#M4270</guid>
      <dc:creator>ryandawson</dc:creator>
      <dc:date>2017-05-30T10:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-cdi StartTask() don't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9601#M4271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx for &amp;nbsp;this link but it was me,&lt;/P&gt;&lt;P&gt;so to configure i used this two &amp;nbsp;dependencies&amp;nbsp;&lt;/P&gt;&lt;P&gt;activiti-engine&lt;/P&gt;&lt;P&gt;and activiti-cdi&lt;/P&gt;&lt;P&gt;i followd the steps of the activiti users guide, on this link you will find the configuration that i used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="jivelink1" href="http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/" title="http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/" rel="nofollow noopener noreferrer"&gt;http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;my problem, after starting the process and &amp;nbsp;accesing to the first user task and trying to&amp;nbsp;complet the task this error appears( &lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;org.activiti.cdi.ActivitiCdiException: No task associated. Call businessProcess.startTask() first.&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;i debugged it and found the id of the current task &amp;nbsp;was NULL &amp;nbsp;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 21:21:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9601#M4271</guid>
      <dc:creator>idireneyoucef</dc:creator>
      <dc:date>2017-05-30T21:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: activiti-cdi StartTask() don't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9602#M4272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Ryan,&lt;/P&gt;&lt;P&gt;it was me, and it's the same error if &amp;nbsp;you can help me i thnik the listener when i m putting &lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;businessProcess.StratTask(taskId, true)&amp;nbsp;&lt;/SPAN&gt;don't work&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanx&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 09:12:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-cdi-starttask-don-t-work/m-p/9602#M4272</guid>
      <dc:creator>idireneyoucef</dc:creator>
      <dc:date>2017-06-05T09:12:33Z</dc:date>
    </item>
  </channel>
</rss>

