CustomCondition Scrip question

Hi,

I’ve just started running RT3. As a first venture into custom scrips I
decided to try something easy, but have hit a brick wall pretty quickly.

I’m trying to write a scrip that does the following:

On Owner Change
if new owner != person making the change
Notify Owner

As I understand it I need to put some custom code in the ‘Custom Condition’
box. As far as I can see, the person making the change is
$TransactionObj->CreatorObj->Id, but I can’t figure out how to determine
who the new owner is.

Any ideas?

-Ronan

This email has been scanned by the MessageLabs Email Security System.
For more information please visit Email Security

Hi,

I’ve just started running RT3. As a first venture into custom scrips I
decided to try something easy, but have hit a brick wall pretty quickly.

I’m trying to write a scrip that does the following:

On Owner Change
if new owner != person making the change
Notify Owner

The standard script condition and Action should work exactly like this,
as RT by default doesn’t send mail to the person doing the transaction.
Have you perhaps set

Set($NotifyActor, 1);

in your RT_{Site}Config.pm?

Steve

“Outlook not so good.” That magic 8-ball knows everything! I’ll ask
about Exchange Server next.
– (Stolen from the net)