Author Topic: Table triggers on Activity Diagram  (Read 104 times)

MaXyM

  • EA User
  • **
  • Posts: 63
  • Karma: +5/-0
    • View Profile
Table triggers on Activity Diagram
« on: October 13, 2018, 02:30:10 am »
I was looking for a way of documenting database table triggers. They are organized into determined sequence of calls, so I decided for Activity diagram.
EA allowed me to drag&drop a trigger from Project Browser into activity diagram, creating new activity with action pin.



So far so good.
But I cannot find any relationship between origin trigger element (which I guess is "trigger" stereotyped operation in fact) and the activity.

Any clues about it?
If not, can you suggest another way of documenting table triggers?

with regards
« Last Edit: October 14, 2018, 08:48:32 am by MaXyM »

qwerty

  • EA Guru
  • *****
  • Posts: 9658
  • Karma: +175/-150
  • I'm no guru at all
    • View Profile
Re: Database triggers on Activity Diagram
« Reply #1 on: October 13, 2018, 05:02:38 am »
What's a database trigger in terms of UML elements?

q.

MaXyM

  • EA User
  • **
  • Posts: 63
  • Karma: +5/-0
    • View Profile
Re: Database triggers on Activity Diagram
« Reply #2 on: October 14, 2018, 08:40:57 am »
Sorry, I meant table triggers.
EA models them as table operations with "trigger" stereotype.

qwerty

  • EA Guru
  • *****
  • Posts: 9658
  • Karma: +175/-150
  • I'm no guru at all
    • View Profile
Re: Table triggers on Activity Diagram
« Reply #3 on: October 14, 2018, 07:23:53 pm »
It's t_object.classifierGUID which holds the link.

q.

MaXyM

  • EA User
  • **
  • Posts: 63
  • Karma: +5/-0
    • View Profile
Re: Table triggers on Activity Diagram
« Reply #4 on: October 15, 2018, 06:40:10 pm »
If I create activity from a table trigger, then delete the table from a model, Activity remains.
Also there is no any visual cue in EA, which might suggest there is any relationship between the activity and the trigger.

qwerty

  • EA Guru
  • *****
  • Posts: 9658
  • Karma: +175/-150
  • I'm no guru at all
    • View Profile
Re: Table triggers on Activity Diagram
« Reply #5 on: October 15, 2018, 11:38:29 pm »
You'd probably need to send a Feature Request for that.

q.

MaXyM

  • EA User
  • **
  • Posts: 63
  • Karma: +5/-0
    • View Profile
Re: Table triggers on Activity Diagram
« Reply #6 on: Today at 12:23:42 am »
Thank you for making me sure about it.
I already sent an another bug report, incidentally asking also for this issue. Depending on answer I will do what you are suggesting.

regards