Book a Demo

Author Topic: [EA15.2]Change event in state machine: when ()keyword  (Read 4293 times)

OCC78

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
[EA15.2]Change event in state machine: when ()keyword
« on: January 28, 2021, 02:16:34 am »
Hello,

https://we.tl/t-ubVlyi3kkr
https://we.tl/t-fPmwpvL0xV

I try to display a change event on a state machine.
I can specify 'Change' as type for Triggers on a transition, then if I name it I can see the name on the diagram.
is there anyway to toggle name with its specification?
ideally I'd like to see on my transition when(Rolled == true) instead of its name
d is the trigger name in the picture available through 1st the link above
while in the 2nd link this is what I'd like to get...without typing it in the name field...

I'm using SysML but I guess it'd be the same with UML and others

Thanks for any hint,
Olivier

OCC78

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: [EA15.2]Change event in state machine: when ()keyword
« Reply #1 on: February 02, 2021, 08:03:25 pm »
Hello,

I got no reply, I'm surprised nobody used the when() keyword ??

actually it seems possible but I didn't succeed in achieving ...

I'd like to get this:
https://sparxsystems.com/resources/gallery/diagrams/systems/sys-sysml_statemachine_diagram-states_of_water.html

can somebody explain me how to model this, or give me a link to download this model to help me to understand what I'm not doing well?

thanks!
Olivier