changing the value in an attribute when moving to a new state
Hi All,
Wonder if anyone has implemented the following scenario:
attribute X has a certain value.
Upon transitioning to a new state, the value of that attribute must be changed to zero.
Another solution could be that one cannot transition to the new state, unless the value of that attribute is changed to zero.
Thanks, Shimon
2 answers
It's a really simple scenario and you can achieve this just developing one precondition (for "cannot transition to the new state, unless the value of that attribute is changed to zero") and one follow-up action (for "upon transitioning to a new state, the value of that attribute must be changed to zero"), as described very well on workshops available at https://jazz.net/library/article/1000.