title: Spring Webflow action-state else
body: <p>I have a problem with a webflow action-state. The structure I want is: 
  <em>if...else if....else if .....else</em></p>
  
  <p>In my action state (see below), </p>
  
  <ul>
  <li>I call getTestTypeName();</li>
  <li>This method returns a string. There could be ten valid values
  although currently there are only two. </li>
  <li>However, I may also get an invald String which is not an error but
  needs to be sent to a specified view-state.</li>
  <li>How do I do this. Currently, I get an error</li>
  </ul>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;action-state id="selectPostITSAction"&gt;
      &lt;evaluate expression="testEntranceViewService.getTestTypeName(flowScope.vwUser)" /&gt;
   
          &lt;transition on="ProgramChoiceTemplate" to="paymentGateway" /&gt;
    
   &lt;transition on="CPCFeedbackTemplate" to="report" &gt;
    &lt;evaluate  expression="testEntranceViewService.reactivateTestOnHold(vwUser, flowRequestContext)"
      result="flowScope.vwUser" /&gt;
   &lt;/transition&gt;
    
   &lt;transition on="error" to="entry" /&gt;
    
  &lt;/action-state&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>"Prototype Test Template1467832258812" is an invalid option but I cannot handle with webflow. I get this error is </p>
  
  <blockquote>
    <p>ExceptionNo transition was matched on the event(s) signaled by the [1] action(s) that executed in this action state 'selectPostITSAction' of flow 'flow-entry'; transitions must be defined to handle action result outcomes -- possible flow configuration error? Note: the eventIds signaled were: 'array['Prototype Test Template1467832258812']', while the supported set of transitional criteria for this action state is 'array[ProgramChoiceTemplate, CPCFeedbackTemplate, error]'org.springframework.webflow.engine.NoMatchingTransitionException</p>
  </blockquote>