On agent applying apply all taskDefinitions