Announcement Announcement Module
No announcement yet.
Load Web Flow By ID? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Load Web Flow By ID?

    Id like to be able to load a flow based on some logic specific to my application.
    I need to use the same URL endpoint but would like to load a different web flow file depending on result of my logic.

    I have defined two web flow files, one in common folder the other in specific. They each have different ID's.

    <webflow:flow-location path="/WEB-INF/flows/common/myFlow.xml" id="myCommonID" />
    <webflow:flow-location path="/WEB-INF/flows/specific/myFlow.xml" id="mySpecificID" />
    Is there a way I can process my logic and depending on the result load one of these two floes using the same URL endping.

    For example:

    I have tried creating a custom AbstractFlowHandler but can't find the right way to invoke it so the correct flow ID is used.

    I'm also noticing the flowURLHandler is always used by default.
    Last edited by avalanche333; Nov 19th, 2012, 08:59 AM. Reason: Added additional details