|Re: State machine diagram - Check / Guard [State activity/status] [message #1766759 is a reply to message #1763679]
||Mon, 26 June 2017 23:24
| Bas Har
Registered: May 2017
Appreciate your replay.|
Sorry for not following up promptly.
Based on your advice, I add a Boolean attribute to my class (Block), I was able to check its value in a Transition guard as an Opaque Expression, with correct syntax highlighting by Papyrus.
But, I was not able to set the value, I tried to use OCL in Opaque Behavior in:
1. A Transition Effect
2. A State Entry action
3. A State Exit action
None of which worked, once I close the window, it shows "Opaque Behavior: null" in the diagram and when I open it, the OCL expression is gone.
I looked around, and it felt something like:
I am using Papyrus Neon 2, SysML 1.4.
[Updated on: Mon, 10 July 2017 09:27]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02605 seconds