1. The Scheduler Service runs each weekday and checks to determine if there are more than six stale workflow items. It uses MBean API logic to perform this task.
2. If there are more than six stale workflow items, an email message is sent to an AEM administrator.
To read this development article, click http://helpx.adobe.com/experience-manager/using/aem-first-components1.html.