Announcement Announcement Module
Collapse
No announcement yet.
get decision state id/ next state id Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • get decision state id/ next state id

    Hi All,

    Im working in spring webflow 2.5.i want to predict the next state of the transition or the decision state id if else outcome.

    Code:
    <decision-state id="isemployed">
    		<if test="eligiCalcData.employed == true" then="resultSupport"
    			else="support" />
    	</decision-state>
    in the above code i would like to get the value resultSupport or support

    If possible i would like to get something like for e.g
    StateDefinition .getNextState().getId()

    please let me know

    Thanks
    Rajesh
    Last edited by rajeshsoftware; Mar 29th, 2010, 06:11 AM.

  • #2
    I'm not quite sure I understand your intent. Are you trying to save the IDs of the next potential states? Are you trying to do this before the transition is made, or during the transition? Also, what's the reason why you want to save these IDs? If we know why you want to do this, we might be able to point out a better way.

    Comment

    Working...
    X