RT 5.0.2 TransactionObj->Type always return 'Set'

My case is similar like the following case
Change ticket status from New to Open on Take action

And i referring to this documentation Transaction - Request Tracker Wiki

i expecting the script $self->TransactionObj->Type eq ‘Take’.
But i’m getting ‘Set’ currently. Anyone can advice and help? thank you.