Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Yvo on April 16, 2021, 05:59:54 pm

Title: Unable to create Interrupt Flow in Activity diagram
Post by: Yvo on April 16, 2021, 05:59:54 pm
Dear List

Based on the available Activity-diagram pattern Basic Activity Diagram with Interruptible Region I tried to create an own Activity-diagram using a InterruptibleActivityRegion as well.

But I was unable to get an Interrupt Flow relation between an Event and an Action created. Enterprise Architect tells me The requested connection is not UML compliant:

(https://projects.geoidee.ch/InterruptPatternUnsuccessful.jpg)

All I tried is to copy a similar diagram as the pattern which shows such a relationship:

(https://projects.geoidee.ch/OriginalPattern.jpg)

Any ideas what I am doing wrong?

Looking forward to any hints,
Yvo
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: qwerty on April 16, 2021, 07:06:47 pm
Probably nothing wrong with what you try. What version?

q.
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: Yvo on April 16, 2021, 08:19:10 pm
I am using the following version:

Cheers,
Yvo
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: qwerty on April 16, 2021, 08:28:52 pm
Strange. I just tested with 15.1 and had no issue. Do you have any add-ins installed / MDGs turned on?

q.
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: philchudley on April 16, 2021, 08:41:10 pm
Just check that the send event is actually a child element of the interruptible region n the Browser.

Phil
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: qwerty on April 16, 2021, 09:18:40 pm
That does not (longer?) seem to play a role. I could connect it even out of the region...

q.
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: Yvo on April 16, 2021, 09:24:05 pm
I just checked it. Looks ok to me:
(https://projects.geoidee.ch/ChildElement.jpg)

Yvo
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: philchudley on April 16, 2021, 10:11:38 pm
Hmmm

Just tried with the latest build of EA 15.2 and I too always get The Requested Connection is not UML Compliant

The only way got it t work was to turn off Strict Connector Syntax  >:(

EA works in mysterious ways ...

Phil
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: qwerty on April 16, 2021, 10:20:05 pm
Argh - where was that option again???

q.
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: Yvo on April 16, 2021, 10:36:23 pm
Ah, it works. Thank you very much.

For documentation and other desperate users:

(https://projects.geoidee.ch/DisableStrictConnectorSyntax.jpg)

An then it works:

(https://projects.geoidee.ch/InterruptPatternSuccessful.jpg)
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: qwerty on April 16, 2021, 10:55:00 pm
Yes, in YOUR preferences in THAT EA version (not meant against you!). But in 15.2 it's no longer there. Geoffrey alone knows where it's hidden now. Ah, well....

q.

P.S. There's (of course) more than one Preferences window. Yours (as well as now mine) is under Start/Desktop/Preferences/Preferences (probably so one is sure these are the preferences :-/ ). Now, the funny (or not so funny) thing is that I have strict connector syntax turned on. It's probably some kind of option roulette which Sparx is playing here.

I had been looking under Configure/Model/Options which looks quite similar (since in former EA versions they were in the same window). Actually the Source Code tab appears under both of them. What a mess!
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: Geert Bellekens on April 17, 2021, 06:40:35 pm
Yes, in YOUR preferences in THAT EA version (not meant against you!). But in 15.2 it's no longer there. Geoffrey alone knows where it's hidden now. Ah, well....

q.

P.S. There's (of course) more than one Preferences window. Yours (as well as now mine) is under Start/Desktop/Preferences/Preferences (probably so one is sure these are the preferences :-/ ). Now, the funny (or not so funny) thing is that I have strict connector syntax turned on. It's probably some kind of option roulette which Sparx is playing here.

I had been looking under Configure/Model/Options which looks quite similar (since in former EA versions they were in the same window). Actually the Source Code tab appears under both of them. What a mess!
You should turn it OFF to allow invalid (considered by EA) relations.

Geert
Title: Re: Unable to create Interrupt Flow in Activity diagram
Post by: qwerty on April 17, 2021, 07:37:03 pm
Maybe. But why can I create that relation with strict turned on while others have to turn it off? Don't try to answer ;-)

q.