Policy Scheduled Event Exception
class PolicyScheduledEventException(val elementName: String, val policyLabel: String, val eventsScheduled: Long) : IllegalStateException(source)
Thrown when a policy schedules an event during the call that asked it for an action.
R2 says the policy call neither advances the clock nor schedules events of its own, and until now nothing checked it. A rule that schedules is running simulation from inside a decision: whatever it scheduled lands in an interval no transition attributes, and the run stops being reproducible from its declared inputs. A rule that wants the model to do something says so through a lever.