SEARCH_DOCUMENTS - SEARCH_DOCUMENTS - The SEARCH_DOCUMENTS action is used to search for a document within the Nuxeo repository. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/nmc1718262061057 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-16T23:02:28.533499
ft:locale
en-US

The SEARCH_DOCUMENTS action is used to search for a document within the Nuxeo repository.

Use this action to locate documents based on NXQL queries or configured page providers. The action executes either an NXQL query or a configured page provider against the Nuxeo repository. The returned results can be used to retrieve document identifiers, access metadata, download content, validate document existence, or drive workflow decisions. The action supports pagination, sorting, and parameterized searches.

The input parameters of the action are:

Parameter Type Required Description
currentPageIndex Integer Optional The page of results to return. Used with pagination.
namedParams JSON Optional Named parameters supplied to the search query or page provider.
pageProvider String Optional The name of the Nuxeo page provider used to perform the search. This parameter is mutually exclusive with searchQuery.
pageSize Integer Optional The number of documents returned per page.
queryParams Array<string> Optional Ordered parameters supplied to the search query.
searchQuery String Optional

The NXQL query used to search for documents. This parameter is mutually exclusive with pageProvider.

For example:

SELECT * FROM Document
WHERE dc:title LIKE 'Contract%'
sortBy String Optional The metadata property used to sort search results.
sortOrder String Optional The sort direction applied to the results.

The output parameters from SEARCH_DOCUMENTS are:

Parameter Type Required Description
searchDocumentsResult Array<JSON> Optional Array of JSON objects representing documents that match the search criteria.
searchDocumentsPaginationInfo JSON Optional Pagination information, including page size, page index, and total result information.