Author Topic: Event in state machine  (Read 922 times)

qwerty

  • EA Guru
  • *****
  • Posts: 8972
  • Karma: +136/-124
  • I'm no guru at all
    • View Profile
Event in state machine
« on: November 06, 2016, 04:42:33 am »
Out of curiosity: in state machines the toolbox shows an entry called Event which resembles a Receive and Send Event (used in ADs). Now, when creating it in a SM it will just create a Send-shaped Event. They all are of metatype Event. In ADs you can create both. In the browser they appear as this twin-icon like in the SM toolbox. Now my questions:

- I was pretty sure having seen a way to convert send to receive and vice versa, but can't find anything in that direction. Possible?
- Are Receive events valid in SMs?

q.

P.S. I found an example of receive being used in a SM in the UML specs.
« Last Edit: November 06, 2016, 04:51:42 am by qwerty »

PeterHeintz

  • EA User
  • **
  • Posts: 549
  • Karma: +37/-14
    • View Profile
Re: Event in state machine
« Reply #1 on: November 07, 2016, 08:17:54 pm »
Converting you can do in contect Menu Advanced Make Sender/Make Receiver.
The question if this, having in a diagram is UML I had as well, but did not jet check against UML Spec.
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 8972
  • Karma: +136/-124
  • I'm no guru at all
    • View Profile
Re: Event in state machine
« Reply #2 on: November 07, 2016, 10:20:40 pm »
Doh! Now I see it again.  ::)

Thanks :-)

q.