private function createTaskFromMetaData(JsonArray $config)
    {
        $typeName = $config->get(Task::SETTING_TYPE);
        if ($this->factory->isTypeSupported($typeName)) {
            return $this->factory->createInstance($typeName, $config);
        }

        return null;
    }