As Ganesh suggested, Task list in SP Online can be used as replacement for Project tasks in SP 2010.
Here is link to official documentation on connecting task list to project.
It may be the nature of your WF. Are you doing update to that task in wf? if so you need put a wait action after it. Sometimes WF is faster than sharepoint due to async calls and hits race condition. Put a 5 min wait after update of the task and see if that solves your problem.