NAME

RT::Condition::OwnerAway

DESCRIPTION

Scrip condition that is applicable when a new reply or comment arrives on a ticket that has a real (non-Nobody) owner and that owner currently has Away Mode active (see RT::Extension::AwayMode). Intended to be paired with ApplicableTransTypes = 'Correspond,Comment'>; which of those two actually count is then narrowed by $AwayModeTransactionTypes and $AwayModeIgnorePrivilegedComments, both handled by "IsHandledTransaction" in RT::Extension::AwayMode.

Comments are included because an rt-mailgate running --action comment records incoming mail as a comment rather than as correspondence.

Replies written by the owner themselves are ignored: if an away user answers a ticket they own, they are evidently still working on it, so the ticket stays assigned to them.