I managed to achieve what I was after. Doing a redirect to a subdomain within a webflow. So this is how I managed to get it working.
So in the flow definition I have:
<transition on="found" to="redirectOnRetrieve">
<evaluate expression="retrieveController.brokerApplicationRedirect(flowRequestContext)"/>
</transition>
Now, I did the redirect with in the retrieveController:
public void brokerApplicationRedirect(RequestContext context) throws IOException, ServletException {
String urlString = "http://sub.domain.com?param=myparam";
context.getExternalContext().requestExternalRedirect(urlString);
}
So I build up the Url string any way I want then did the redirect within the controller.