IBM Support

Changing an external transition with triggers to an internal transition results in loss of transition's name on the statechart diagram

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:

  1. Create a UML project and UML model
  2. Add a state machine diagram
  3. Add a state onto the diagram
  4. Add an external transition to the state and give it the name myTransition1
  5. Add a guard condition to the transition with, for example, x=1 as the expression
  6. Add a change event to the transition
  7. Deactivate the Window > Preferences > UML Diagrams > State Machine > Show Internal Transition Name Only checkbox and click Apply & OK
  8. 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.

[{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Modeling: Diagrams","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0.4","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Modeling: Diagrams","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.0.4","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
10 September 2020

UID

swg21576694