public static function createTask($where = [], $propertyValues = [])
    {
        $serviceManager = ServiceManager::getServiceManager();
        $action = new self();
        $action->setServiceLocator($serviceManager);

        $parameters = [
            self::OPTION_WHERE => $where,
            self::OPTION_PARAMETERS => $propertyValues
        ];
        /** @var QueueDispatcher $queueDispatcher */
        $queueDispatcher = ServiceManager::getServiceManager()->get(QueueDispatcher::SERVICE_ID);
        return $queueDispatcher->createTask($action, $parameters, null, null, true);
    }