Reject Compliance Violated Posting task

The Reject Compliance Violated Posting task reevaluates the schedule compliance for shifts that have been posted to the billboard by employees. When the task runs, it removes any shifts that would cause schedule compliance errors for the posting employee if they were successfully claimed. This allows the billboard to detect shift postings that are no longer valid due to schedule changes that occurred after the shift was posted. These schedule changes can be caused in other parts of the application or can be caused by other billboard actions. When this task removes a shift from the billboard, a notification is sent to the posting employee informing them that their shift post has been removed. Removing these shift posts from the billboard ensures that claiming employees do not see shifts in the billboard that they cannot claim.

For example, a schedule compliance rule triggers an error when employees are under a minimum number of scheduled hours in a week. An employee posts two shifts, and one shift is claimed. If the second shift was claimed, the employee would drop below the required minimum hours. The Reject Compliance Violated Posting task will remove the second shift from the billboard the next time it runs.