When a user is added to an engagement plan using the Sitecore User Name attribute in the Supervisor application, and an active site visit is connected to the user by assigning Visitor.ExternalUser property, most of the conditions related to the user's behavior during the visit will not work.
The issue occurs when a timeout trigger is used to transfer the user between engagement states, and affects conditions such as where the specific goal was triggered during the current visit.
To resolve this issue, apply the patch below: