Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started by: BiSb on February 13, 2023, 08:47:27 pm
-
Hi again,
I'm trying to model an error handling. Please don't judge me too hard. :D
My plan was to use an Interruptible Region and an Interrupt Flow starting at the Decision Node, going to the "Error handling" Action (Red square).
(https://gcdnb.pbrd.co/images/td90BhHKUJ7Z.jpg?o=1)
EA does not allow an Interrupt Flow from the Decision Node to the "Error Handling" Action outside of the Interruptible Region. My idea feels a little bit unusual. However, I could not find the reason why this is forbidden in the UML spec. Can someone tell me, why this is not allowed?
And also, what would be a better idea to model it?
Greetings
Sebastian
-
You need an InteruptFlow (last connector in the Act. toolbox) and an InterruptibleActivitRegion (Region element) around the. Then you draw the InterruptFlow towards the Exception element where it ends in a pin accpting the exception element.
q.
-
Hi again qwerty. :)
Thanks for helping me out so often.
Back to the topic. What you write is exactly what I tried. But EA is not allowing to connect the Decision Node to the Action Pin with an Interrupt Flow.
Greetings
Sebastian
-
Yes, this is not allowed. You need to have it go out of an action.
q.