Announcement Announcement Module
Collapse
No announcement yet.
Are Form Object Automatically Exposed to Subflows Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Are Form Object Automatically Exposed to Subflows

    Greetings!

    Are form objects automatically exposed to subflows or do I have to explicitly map the form to my subflows and back out again to be used in the paent flow.

    If so, how would one map the form object to and from flows? I am mapping my other attributes as follows:
    Code:
    	public BrowseCatalogFlowAttributeMapper () {
    
    		List input = new ArrayList();
    
    		input.add (new Mapping ("sourceEvent.parameters.category",BrowseCatalogFlowExecutionListener.CATEGORY));
    
    		input.add (new Mapping ("sourceEvent.parameters.subcategory",BrowseCatalogFlowExecutionListener.SUBCATEGORY));
    
    		input.add (new Mapping ("sourceEvent.parameters.action",BrowseCatalogFlowExecutionListener.ACTION));
    
    		input.add (new Mapping ("sourceEvent.parameters.method",BrowseCatalogFlowExecutionListener.METHOD));
    
    		input.add (new Mapping ("sourceEvent.parameters.row",BrowseCatalogFlowExecutionListener.ROW));
    
    		setInputMappings(input);
    
    		
    
    		List output = new ArrayList();
    
    		output.add (new Mapping (BrowseCatalogFlowExecutionListener.ROW));
    
    		output.add (new Mapping (BrowseCatalogFlowExecutionListener.ACTION));
    
    		output.add (new Mapping (BrowseCatalogFlowExecutionListener.METHOD));
    
    		output.add (new Mapping (BrowseCatalogFlowExecutionListener.))
    
    		setOutputMappings(output);
    
    	}
    Thanks inadvance,

    Curtney

  • #2
    Ok, I got it. I have to map the name of the form to and from the subflow.

    _CJ

    Comment

    Working...
    X