Oct 17th, 2011, 01:37 PM
Accessing Flow variables from outside the flow
What we are attempting to accomplish is this, to provide a mechanism to integrate Adobe Flex applications into a Spring Webflow process flow.
The way we would like to do this is to use the Spring BlazeDS Integration project to configure remoting services to Flex that provide a gateway to the objects with the flow’s scope and context. In order to do this, we need a way to access the contents of the flow from outside the flow. While we have found some documents suggesting ways in which this might be accomplished (http://www.ervacon.com/products/swf/tips/tip1.html) they are typically referring to WebFlow 1.x and thus aren’t a good match, as we are on WebFlow 2.2.1.
Ideally, what I would like to see is some sort of helper class that provides a mechanism to grab a FlowExecutionContext instance based on its ID.
This is in a portal environment, so I really don't want to make any of the variables scoped to the session.
I guess, in a nutshell, I want to be able to use a Flex remoting service to read from and write to a variable contained within a flow process. Does anyone have any recommendations on how I might accomplish this goal?