Announcement Announcement Module
Collapse
No announcement yet.
Transition to dynamic state Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Transition to dynamic state

    I have described below two action states that only differ in the transition "to" attribute. Is there an approach I can take to use only a single action state that transitions based on a dynamic value or attribute set in a prior transition element?

    Code:
    <action-state id="mapAddressValidationResponseSuccessToAccount">
    	<evaluate expression="registrationAction.mapAddressValidationResponseToAccount" />
    	<transition to="checkForPreviouslyRegisteredAddress" />
    </action-state>
    
    <action-state id="mapAddressValidationResponseErrorToAccount">
    	<evaluate expression="registrationAction.mapAddressValidationResponseToAccount" />
    	<transition to="saveAcountWithError" />
    </action-state>
    I would like to reduce the example here to a single action state.
    Thanks in advance
Working...
X