How to exclude records without using Exclusion activity
Hi Team,
We have a requirement based on a Boolean Flag we are excluding few records and in the Query conditions there are many links after which we query based on the Boolean's Flag Value.
In our current approach, there are 2 query activities with one having the condition [Schema1/Schema2/@Flag] equal to "Yes" and the other query having the condition [Schema1/Schema2/@Flag] equal to "No", then we are using an Exclusion activity and taking primary set as [Schema1/Schema2/@Flag] equal to "Yes" (1st query's Data) and excluding the 2nd query's records.
Example WF for 1 schema

This approach is done for nearly 40 schemas , which is causing issues and we are required to Optimize the Workflow and reduce the number of activities being used.
Could you Please suggest us the approach to use the single query instead of multiple query's and Exclusion activities
Regards,
Pravallika.
