Adding tasks to the workflow directly