Book a Demo

Author Topic: Opaque Expression as an Effect/Action  (Read 4145 times)

Rfernie

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Opaque Expression as an Effect/Action
« on: May 05, 2016, 12:36:04 am »
Hello,
I'm trying add default behavior of multiple triggers/actions to my state machine.  The way I have seen it done before is that the (in this case) methods are listed in the top left corner of the state with the format <method> / <action>.

I can drag the methods from my interface onto my state which is almost what I need (other than it attempts to use the return type as an action(?)) but when I define behavior is just lists it below which might be fine except it breaks up the behavior onto separate lines.

Does anyone have any input on how to better implement what I'm looking for or is this how EA handles these types of expressions?

See attached screenshot for clarity.

https://imgur.com/NzlZkdp

Thanks,
Rick

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Opaque Expression as an Effect/Action
« Reply #1 on: May 17, 2016, 03:14:56 pm »
Hi Rick,

if I want to add additional information for an operation in a state diagram I:
- Add a note for every operation of the state
- Draw a Note Link from State to Operation
- Right Click on Note Link
- Add additional featur
- Select Operation
- Select the Operation
With that I link the operation description to the note.

This also works for other features and element types.

Another possibility is to define an Activity as Behavior for your operation.

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Rfernie

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Opaque Expression as an Effect/Action
« Reply #2 on: May 24, 2016, 12:24:17 am »
Hey Helmut,
Thank you for the suggestion.  I'll be sure to give it a try.

Regards,
Rick