/
My pipeline conditional statement does not work
This Confluence instance is now read-only, please head over to the Algolia Confluence instance for the same more up-to-date information
My pipeline conditional statement does not work
I only want a pipeline step like a filter-boost
to execute when a variable is not being sent in the query. I have a condition like the following condition: !myVariable
on the step, but it doesn’t work as expected and when saving the pipeline its removed.
The Solution:
Due to !
being a special character we need to wrap the condition in quotes to force it to be interpreted as a string i.e. condition: "!myVariable"
Your condition should now save and work as expected.
, multiple selections available,
Related content
How to pass a list of items to filter records?
How to pass a list of items to filter records?
More like this
How to add keyword triggered filters and boosts
How to add keyword triggered filters and boosts
More like this
How can I filter values on a repeated field?
How can I filter values on a repeated field?
More like this
How to add a default filter to searches
How to add a default filter to searches
More like this
How to resolve 'filters: field filter: could not check repeated value for type string' error?
How to resolve 'filters: field filter: could not check repeated value for type string' error?
More like this