Creates a watched cases report and sends it via email. Watched cases are those tagged "watch"
Blog post discussing this functionality in more detail
- Dovetail SDK
- Dovetail Bootstrap - used for generating recent case history information
- MailChimp - used for in-lining CSS. Sign up for a free account.
- Dovetail Agent 5
- Apply schemascript using Dovetail SchemaEditor
- Configure database settings in dovetail.config
- Configure logging settings in logging.config
- Configure settings in WatchedCasesReport.ps1
- $smtpServer
- $port
- $smtpLogin
- $smtpPassword
- $from
- $BASEURL - URL to Dovetail Bootstrap case histories api
- $authToken - Dovetail Bootstrap auth token
- $agent5Url - URL to Dovetail Agent 5 web application
- $mailChimpApiKey - Mail Chimp api token
- Setup Windows scheduled task
- Create a scheduled task to execute the RunReport.bat file
- Suggested: Run report daily at 6:00 AM