TaskManager was not passed to the Tasks of the Workflow.