I have a requirement that i need to check some conditions before starting polling from SQL receive adapter. I can check those conditions in Stored procedure, but i want the conditions to be configurable. So i can’t put the conditions in Stored procedure. My conditions are if the time is between 9AM-6PM pull 200 records from SQL adapter and if the time is between 12AM to 6AM pull 2000 records like that. Is there is any way to check these conditons before fetching records with out using stored proc for conditions.