Track origin of activities for more intuitive flow control