When a new Time Log is created:
- Set the state of the currently opened time logs to closed
- Set the end date/time of those time logs to now
- Only do that for the time logs owned by the person who triggered the workflow (who created the new time log)
When a new Time Log is created: