MDL-45324 assign: no message with workflow 'on' and state not 'released'

When marking workflow is enabled, students will be notified only when
the workflow state transitions to 'Released'. Until that happens,
sending of messages will be held.