<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def notify_duration_exceeded(self, participants, reference_time):
 """The bot participant has been working longer than the time defined in the "duration" config value. """

        for participant in participants:
            participant.status = "rejected"
            session.commit()