1. A middleware computer program product for integrating decision support logic into a workflow application, the middleware computer program comprising: means for receiving data from the workflow application; means for transmitting data to the workflow application; a programmatic interface operable with the workflow application to generate a query for retrieving data from a data source, and transmit the query to the middleware computer program; and means for, responsive to receiving the query, connecting to the data source; transmitting the query to the data source, executing the query on the data source, receiving query results from the data source, and providing results of the query to the workflow application; whereby an application developer can implement decision support logic into the workflow application without implementing logic to access the data source.