How to dynamically update event-based transition rules?

Thanks @Webcyberrob, that event driven example was a useful hint!

As to what I want to achieve, I want to be able to model state machine transition with dynamic guard conditions.
Here’s an attempt at expressing in BPMN language:

Taking a hint from your diagram in the link you shared, is the following simpler version achievable with the ability to dynamically change the condition?:

Going further, can I represent what I want to achieve in this compact notation?: