State Diagram - The state cannot be used here

0 votes
asked Mar 22, 2016 in Bug by mdyle (140 points)

I am trying to use state diagrams to vizualize some of my diagrams. My state diagram looks like this:

1.png

My problem is that I don't know how to define the transition of s6 with s2.

I receive the following message: The state has been created in a concurrent state. It cannot be used here.

Is this error message telling there is some constraint over transitions between concurrent states of different levels? if yes why?

Many thanx 

 

1 Answer

0 votes
answered Mar 22, 2016 by plantuml (294,960 points)
Hi,

It's a constraint of the current implementation.

There are constraint with concurrent state : states from a concurrent state cannot have link with the outside.

(This is because the concurrent state itself is build separately, in a temporary independant diagram).

Overcoming this limitation is theorically possible, but this need some work, and this is not planned right now.

The only workaround is not use concurrent state in your example. Sorry about that!
...