Book a Demo

Author Topic: Unable to create Interrupt Flow in Activity diagram  (Read 31247 times)

Yvo

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Unable to create Interrupt Flow in Activity diagram
« 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:



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



Any ideas what I am doing wrong?

Looking forward to any hints,
Yvo

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #1 on: April 16, 2021, 07:06:47 pm »
Probably nothing wrong with what you try. What version?

q.

Yvo

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #2 on: April 16, 2021, 08:19:10 pm »
I am using the following version:
  • 15.1.1526 (Build: 1526), Corporate Edition

Cheers,
Yvo

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #3 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.

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #4 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
Models are great!
Correct models are even greater!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #5 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.

Yvo

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #6 on: April 16, 2021, 09:24:05 pm »
I just checked it. Looks ok to me:


Yvo

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #7 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
Models are great!
Correct models are even greater!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #8 on: April 16, 2021, 10:20:05 pm »
Argh - where was that option again???

q.

Yvo

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #9 on: April 16, 2021, 10:36:23 pm »
Ah, it works. Thank you very much.

For documentation and other desperate users:



An then it works:


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #10 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!
« Last Edit: April 16, 2021, 11:14:53 pm by qwerty »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13505
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #11 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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to create Interrupt Flow in Activity diagram
« Reply #12 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.