Groovy Windows Job unable to restart as Task in Workflow