Troubleshooting
Problem
In IBM Rational Software Architect, if you change an external transition with a guard condition and triggers into an internal transition, the name of the transition will disappear and the guard will not appear in the correct place.
Symptom
Steps to reproduce:
- Create a UML project and UML model
- Add a state machine diagram
- Add a state onto the diagram
- Add an external transition to the state and give it the name myTransition1
- Add a guard condition to the transition with, for example, x=1 as the expression
- Add a change event to the transition
- Deactivate the Window > Preferences > UML Diagrams > State Machine > Show Internal Transition Name Only checkbox and click Apply & OK
- Click the external transition on the diagram and change its Properties > General > Kind value to Internal
Expected Result: The resultant internal transition appears the same as the external transition. From Step 7, you want to show not only the internal transition name within the state, but also its guard condition and its event.
Actual Result: The resultant internal transition's name is hidden on the diagram and the guard condition appears after the event. It is not possible to display the internal transition name or place the guard condition in the correct spot in front of the event.
Note: In Step 7, if you activate Window > Preferences > UML Diagrams > State Machine > Show Internal Transition Name Only, you will get the correct result. The transition's name will appear with its guard condition, but you will not be able to see the change events on the diagram.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
10 September 2020
UID
swg21576694