Transition autogen.beta.network.transitions.Transition dataclass # Transition(when, then, priority=0) One rule: if when.evaluate is true, take then. Lower priority checks first; ties resolve in list order. when instance-attribute # when then instance-attribute # then priority class-attribute instance-attribute # priority = 0