Fetch Using Both AND as well as OR Logic
Comments
-
Im trying to filter the results of a fetch entities step.
I need the filter to check if the results both[color=red][[/color]Contains(Title, “pqdr”) [color=red]OR[/color] Contains(Title, “crqe”)[b][color=red]][/color][/b] [color=red]AND[/color] ReportedDate>=”Start of Year”
If I select the checkbox to combine filters using AND, I get [i]no results[/i] since none of the title fields would ever have pqdr AND crqe.
-
Hello,
What I would suggest that you use the fetch entities step to check for the AND logic, [font=Roboto]ReportedDate>=”Start of Year”, then use a rule collection filter to further filter the results of the fetch by the OR logic, [/font][font=Roboto]Contains(Title, “pqdr”) [/font][font=Roboto][color=red]OR[/color][/font][font=Roboto] Contains(Title, “crqe”). The rule collection filter allows you to create a rule to filter a list of data by. Ive included a link to documentation on how to configure the Rule Collection Filter Step.[/font]
[font=Roboto]
[/font]
[font=Roboto] [/font][url=https://documentation.decisions.com/docs/rule-collection-filter-step]https://documentation.decisions.com/docs/rule-collection-filter-step[/url]
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions