You will only get that error with the "false" last parameter to TaskService if you are adding more than one Action to the TaskDefinition. Make sure there is only one and the parameters to TaskService can be set anyway you want. The example I gave above works for V1 and V2 instances of the Task Scheduler.
↧