The Search Content task searches for content in the repository based on specified search criteria.
Use this task when a process needs to find repository content that matches specific search criteria and make the matching content available for subsequent workflow activities.
During execution, the task executes the SEARCH_CONTENT action. The repository is searched using the specified search criteria. Content objects that match the criteria are returned for use in subsequent workflow activities.
The input parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | String | Required | Specifies the HXQL query used to search for content objects. For
example: SELECT * FROM
SysContent WHERE sys_fulltext = 'invoice*'
|
| timeout | Integer | Optional | Specifies the maximum number of seconds to wait for the search to complete. The default value is 30 seconds and the maximum value is 60 seconds. |
The output parameters of the task are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| contents | Array<content> | Optional | Specifies the list of content objects that match the HXQL query. |