The key point for the session to know about when a task is completed is the CommandBasedWSHumanTaskHandler in this case. If you're using the Mina based human task service your session must be up and your handler connected to be notified that a task was completed. There is a jms based human task service and handler that can help you to keep this service independent from the session.