I have an agent with the following query that work fine, selecting 7 notes.
//Select all notes with HTMLExportTemplate
$HTMLExportTemplate=="/Templates/tCSSOutline"|
$HTMLExportTemplate=="/Templates/tCSSOutline item" |
$HTMLExportTemplate=="/Templates/tIndentedList" |
$HTMLExportTemplate=="/Templates/tNoBorder Table"
However if I add (…) it does not work anymore. Anybody can explain what I missed out? Thanks.
So below does select 0 notes.
//Select all notes with HTMLExportTemplate
( $HTMLExportTemplate=="/Templates/tCSSOutline"|
$HTMLExportTemplate=="/Templates/tCSSOutline item" |
$HTMLExportTemplate=="/Templates/tIndentedList" |
$HTMLExportTemplate=="/Templates/tNoBorder Table" )
I need the (…) because want to extend the query with & condition.