Setting transition types
About this task
When you add a transition between two states and then specify its name, the transition and its associated signal are assigned the same name by default, in the UML diagram. In general also, if you rename a transition, the name of its associated signal automatically changes to match the renamed transition.
In a UML diagram, transition names must be unique. So if you add a transition and then update its name to a name that is already assigned to another transition, an error message is displayed to inform you that duplicate names are not allowed. Change the name to a unique name, which will then also be assigned to the associated signal by default.
Where the same signal is added to multiple transitions, WSRR Studio will not change the name of the signal if any of these transitions is renamed.
- Right-click the signal name in the diagram and then click Delete from Model to delete the signal. Then, confirm the deletion.
- From the WSRR Configuration Project Explorer view,
expand Models and then <<LifeCycleMode>>LifeCycleDefinition,
and locate the required signal in the list of items displayed.Tip: Signals are prefixed with a <<LifeCycleSignal>> tag, and are listed in alphabetic order.
- Drag and drop the signal from the Explorer view on to the transition in the UML diagram.
When you remove a transition from a UML diagram, its signal is also removed. However, the signal is still accessible from the WSRR Configuration Project Explorer so it can be used elsewhere.