05-28-2017 03:53 AM
Hi, businessProcess.StratTask(taskId, true) dont work
i try to debug it and i found
"Task currentTask = associationManager.getTask();" on the function StartTask / BusinessProcess class is null
error on the log
Avertissement: #{businessProcess.completeTask(true)}: org.activiti.cdi.ActivitiCdiException: No task associated. Call businessProcess.startTask() first.
help please
thanx.
05-30-2017 05:21 PM
thanx for this link but it was me,
so to configure i used this two dependencies
activiti-engine
and activiti-cdi
i followd the steps of the activiti users guide, on this link you will find the configuration that i used
http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/
my problem, after starting the process and accesing to the first user task and trying to complet the task this error appears( org.activiti.cdi.ActivitiCdiException: No task associated. Call businessProcess.startTask() first. )
i debugged it and found the id of the current task was NULL
thanx
05-30-2017 06:25 AM
Perhaps you could have a look at this forum question if you haven't already - No task associated. Call businessProcess.startTask() ? Could you provide code snippets like the snippets on that question? A bit more background on your setup would also help.
05-30-2017 05:21 PM
thanx for this link but it was me,
so to configure i used this two dependencies
activiti-engine
and activiti-cdi
i followd the steps of the activiti users guide, on this link you will find the configuration that i used
http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/
my problem, after starting the process and accesing to the first user task and trying to complet the task this error appears( org.activiti.cdi.ActivitiCdiException: No task associated. Call businessProcess.startTask() first. )
i debugged it and found the id of the current task was NULL
thanx
06-05-2017 05:12 AM
hello Ryan,
it was me, and it's the same error if you can help me i thnik the listener when i m putting businessProcess.StratTask(taskId, true) don't work
thanx
Explore our Alfresco products with the links below. Use labels to filter content by product module.