Hello,

Would someone be kind enough to provide me with an example of checking against multiple fields in a scrip custom condition?

For example the below scrip checks if Owner is being set to 9. How can I also check which queue the ticket is currently in within the same condition?

return 0 unless $self->TransactionObj->Type eq "Set";
return 0 unless $self->TransactionObj->Field eq "Owner";

return 0 unless $self->TransactionObj->NewValue eq "9";
return 1;


Thanks,

*--Maks*

Ext 201
P. 203-876-7978 - F. 203-876-2810
m...@activetelephones.com

---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016

Reply via email to