Skip to content

Commit 8b77dba

Browse files
authored
Update recipient-filters.md
Integer values will NOT work in OPATH filters if they are not enclosed in cases where there is an -and in the filter. Enclosing integers will work in ALL cases therefore we should simply provide the "working" methods and not the conditionally working methods.
1 parent b20f620 commit 8b77dba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

exchange/docs-conceptual/recipient-filters.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,8 @@ When creating your own custom OPATH filters, consider the following items:
196196

197197
- **Variables**: Enclose the whole OPATH filter in double quotation marks (for example, `"Name -eq '$User'"`).
198198

199-
- **Integer values**: Depends on how you enclosed (or didn't enclose) the integer to search for:
199+
- **Integer values**: To ensure they work in all cases; enclose them in one of the following ways.
200200

201-
- **Integer not enclosed**: Enclose the whole OPATH filter in double quotation marks, single quotation marks, or braces (for example `"CountryCode -eq 840"`).
202201
- **Integer enclosed in single quotation marks**: Enclose the whole OPATH filter in double quotation marks or braces `"CountryCode -eq '840'"`.
203202
- **Integer enclosed in double quotation marks**: Enclose the whole OPATH filter in braces (for example `{CountryCode -eq "840"}`).
204203

0 commit comments

Comments
 (0)