Have implemented switch statement as below.
Could you please verify and correct it if there is any wrong?
<set name="flowScope.Valid" value="true">
<decision-state id="isDNCheckNotRequired" test="Valid == true">
<transition on="true" to="even"/>
<transition on="false" to="odd"/>
</decision-state>
<action-state id="even">
<evaluate expression="Test.setEven(true)">
</action-state>
<action-state id="odd">
<evaluate expression="Test.set(false)">
</action-state>
And please let me know is this way of implementation supports in spring webflow 2.0
Thanks in advance.