Book a Demo

Author Topic: Finding actions that call activities  (Read 4425 times)

sibiu

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Finding actions that call activities
« on: October 05, 2014, 10:48:54 pm »
Within my model I have a number of activity diagrams for separate components, all of which make reference to some common activities, such as authentication, logging etc.

On the activity diagrams, I can put an action with CallBehavior and that will link easily to the common activity defined elsewhere in the model. Making the target activity a composite diagram means that I can click into the function and drill down.

When I reach the diagram for the activity I would like ideally to have listed, or at least to be able to find out what actions it is called from. That way I can see how widely it is used and the likely effect of any change.

The problem is that I can see no relationship between the activity and the calling actions, yet it must be stored somewhere. Am I missing something?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Finding actions that call activities
« Reply #1 on: October 06, 2014, 12:19:32 am »
I haven't tried, but doesn't Ctrl-U work for that?

q.

sibiu

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Finding actions that call activities
« Reply #2 on: October 06, 2014, 12:56:39 am »
Yes that does work, I discovered (or remembered) that shortly after I posted the comment. Thanks.

As a follow-up question, there is a ElementUsage hyperlink that I am sure I did have working once... Now I get nothing and the drop down list in the properties, where I assume you select the element from is empty.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Finding actions that call activities
« Reply #3 on: October 06, 2014, 05:04:11 am »
Can you explain where from you get this ElementUsage hyperlink?

q.

sibiu

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Finding actions that call activities
« Reply #4 on: October 06, 2014, 06:03:34 am »
Using the insert Hyperlink from the toolbox, set the type to be "EA Command" and then "ElementUsage" on the second dropdown box.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Finding actions that call activities
« Reply #5 on: October 06, 2014, 06:51:08 am »
I have never seen that before. The help has only one entry in Built-In Learning Center Commands. I bet it's just one of those fancy useless features that has been added over years. :-X

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Finding actions that call activities
« Reply #6 on: October 07, 2014, 11:19:44 am »
Element Usage is one of those features that would have worked on the Learning Center, and we added the capability to create a hyperlink for any of those commands.

Unfortunately in this case, when double clicking the hyperlink you are changing focus which means you can't do anything useful with a hyperlink to that particular command on a diagram.

You may be able to get some use by setting the hyperlink to non-selectable, but I suspect you'll still lose your previous context before it runs. I imagine that you could put that hyperlink in the notes of an element to show it's own usage, or even in a linked document because clicking the link there won't change context.