[rt-users] TransactionBatch and TransactionCreate

Michael Bochynski mbochynski at audiumcorp.com
Thu Aug 5 12:33:38 EDT 2004


On Thu, 2004-08-05 at 12:14, Michael Bochynski wrote:
> On Thu, 2004-08-05 at 11:58, Ruslan U. Zakirov wrote:
> 
> > And then you need scrip that notify AdminCC on open event.
> > 
> How do I check for "on open" event?
> 
> Michael

Never mind
(($self->TransactionObj->Field eq 'Status') &&
($self->TransactionObj->OldValue eq 'new') )

It's an easy way to check whether the ticket changed from "new" to
something else. Checking for "open" status in my case makes no sense,
since a given ticket may be changed to "open" several times before
resolving.

Thanks anyway,
Michel



More information about the rt-users mailing list