we have a workflow that does a custom query to a database within a for each activity. the results of the query when in the for each does not seem to expose the results thereof. However when we run the activity outside of the for each on a seperate workflow the results are been returned. Is there anyway for us to expose those results without having to have a seperate workflow that is invoked ?
Below is the extract of the workflow where we are doing a custom query within the for each which does not allow the results of the query to be exposed.