This figure shows the syntax diagram for WHENEVER.