Book a Demo

Author Topic: Tips for Creating Operations From Actions?  (Read 15966 times)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Tips for Creating Operations From Actions?
« on: November 05, 2015, 03:08:02 am »
Hi everyone

I have observed that if I drag an operation (owned by a block) onto an activity diagram that EA helpfully creates a callOperation action which is linked to the original operation. This is great!

Does anyone know if there is a way to perform the reverse? That is to say, can I somehow drag pre-existing actions from my model onto a block in such a way that Operations are created or must I manually create them?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tips for Creating Operations From Actions?
« Reply #1 on: November 05, 2015, 03:30:31 am »
I guess you need to create it by hand. Anyway, action and operation are not linked in any way. It's a copy operation being performed setting a property and the name.

q.

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Tips for Creating Operations From Actions?
« Reply #2 on: November 05, 2015, 04:44:16 am »
What about using swim lanes or allocation partitions... Are these simply graphical elements?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tips for Creating Operations From Actions?
« Reply #3 on: November 05, 2015, 07:51:03 am »
A swim lane is just graphics. A partition (BPMN pool/lane) is an element and you can classify it with an actor. Of course the use of the latter is preferred.

q.

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Tips for Creating Operations From Actions?
« Reply #4 on: November 05, 2015, 08:45:49 am »
Are you aware what relations are created in the underlying database when a partition is used?

Let's say I place my action inside a partition and then type this partition by a block that exists elsewhere in the model. If I were to navigate to this block, would there be any navigable relationship from this block back to the action that is allocated to it?  I'm hoping "yes" but expecting "no" :-/

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tips for Creating Operations From Actions?
« Reply #5 on: November 05, 2015, 05:27:40 pm »
It's simply the classifier property available through API and from t_object that relates the partition. The element inside is simply found by structure (being a child element of the partition). Easy navigation.

q.
« Last Edit: November 05, 2015, 05:29:26 pm by qwerty »