Intelligent Time Entry Alerts in PM App
Overview:
At CloudFronts, we use our Dynamics 365 PM App to track and manage Projects with Task and Resource Scheduling, Project Billing and Invoicing, Timesheets, Gantt Chart, Time and Expense Entries, User Skillsets and many additional features.
We recently implemented an intelligent time entry reminder notification workflow to intimate users about pending time entries with the goal of establishing a culture of doing time entries on a daily basis.
Why do we need this?
A Professional Services company relies on team members who contribute to billable entries which in turn helps the company estimate Project Costs, Forecast Revenue and most importantly ensure billing is done on time and accurately.
High Level Flow Diagram
The below image shows the diagrammatic representation of high level flow of what we implemented.
Custom Logic
The Custom Workflow logic has series of steps that checks and based on the conditions it sends out email to that particular User.
- Check if it’s a Weekend
As the step name suggests, this will check if today is a Saturday or Sunday and if the condition is true the workflow will stop.
- Check if it’s a Public Holiday
If current day is not a weekend, there is a possibility that it might be a public holiday.So in this step it checks if today is a Public holiday. If true, then the workflow stops.
- Get Previous Working Day
This step fetches the Previous Working Day as in if today is Monday then the previous working day in our case is Friday.Else if Tuesday then, previous working day is Monday.
- Check if the Previous Working day is Public Holiday
Now there might be the case, that the previous working day was a Public holiday then in that case the time entries will not be there for the users.So if the Previous Working day is a Public Holiday then the workflow stops.
- Fetch Users
This step will get the users who enter time entries in the system, be it a billable resource or a non-billable resource.
- Fetch Time Entries
Here in this step, fetch the time entries less than 8 hours.If we have complete 8 hours’ time entry, then no alert is sent to that particular user.
Else if we have incomplete time entries then the next step is to check if the user was on Leave.
- Is User on Leave?
If we have less than 8 hours’ time entry, then there is a possibility where that person was on leave on the previous working day.In that case no reminder will be sent to that particular user.
- Send Email
With the above criteria’s and conditions, if we get that user was working and has not completed his/her daily time entry, then an alert will be sent to that user.
So with this simple logic and series of steps, CloudFronts was able to achieve this and intimate their users to complete their time entries.