It's all about the answers!

Ask a question

changing the value in an attribute when moving to a new state


Shimon Nir (24815) | asked Sep 05 '17, 7:43 a.m.

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



permanent link
Ralph Schoon (61.6k33643) | answered Sep 05 '17, 3:22 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 See follow up actions such as in rsjazz@wordpress.com


permanent link
SEC Servizi (97122852) | answered Sep 07 '17, 5:34 a.m.

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.

Your answer


Register or to post your answer.