Menu
Validate Pipeline Condition Operation
Validate a single pipeline condition operation.
POST
/rest/search/v1/admin/pipelines/statements/validateUse it in a workflow
- Add a step and choose the Coveo connector.
- Pick the Validate Pipeline Condition Operation action (under Search).
- Fill in the fields below, then reference the result from later steps as
{{validatePipelineConditionOperation.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"operation": {
"operationType": "CREATE",
"model": {
"definition": "when $searchhub is \"community\"",
"description": "If the query originates from the community site..."
},
"resourceId": "id"
}
}
Response
Returns 200 with an object. Read it in later steps with {{validatePipelineConditionOperation.response.data.<field>}}.
{
"result": {
"operationType": "CREATE",
"operationValid": true,
"resourceId": "id",
"validationErrors": "Access Denied. You don't have the required privileges to perform this operation."
}
}
Need more? See the Coveo guide for connection setup and behaviour shared by every action.
Was this page helpful?