retrieve patterns that trigger external events