I'm wondering what the best way would be for integrating into our existing web application.
Let's say I've assigned a task to a user. I was thinking that when the user logs in, I would query the taskService to determine if the user has any tasks to complete.
If so, the login controller would send the user to the appropriate task page. Let's say they need to take a language proficiency exam for example.
The question is, how do I know to send the user to the language proficiency controller short of putting a statement like "if user has tasks and if task equals language proficiency exam, forward to language controller."
Or is that how one would usually handle these types of tasks? Thanks for any suggestions.