Include tools results into the responder correlation
I have a responder with a DB tool attached to the incoming request, the query used on it is looking for a record in DB using some values extracted from the incoming request by using an XML Data Bank. At response side I need to select my response (I'm using Multiple Responses) based on the incoming request (I'm filtering this by using XPaths) and also I need to consider the result of the query, if the query found records I need to send some responses and if nothing was received from the query I would select different responses, how can I add this validation for my responses?
In other words, Is there a way that I can make correlations based on the incoming request together with the result of a DB tool to select my response? or together with the result of any other tool?