<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
Would someone be kind enough to provide me with an example of
checking against multiple fields in a scrip custom condition?<br>
<br>
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?<br>
<br>
return 0 unless $self->TransactionObj->Type eq "Set";<br>
return 0 unless $self->TransactionObj->Field eq "Owner";<br>
<br>
return 0 unless $self->TransactionObj->NewValue eq "9";<br>
return 1;<br>
<br>
<br>
Thanks,<br>
<div class="moz-signature"><br>
<b>--Maks</b><br>
<br>
Ext 201<br>
P. 203-876-7978 - F. 203-876-2810<br>
<a class="moz-txt-link-abbreviated" href="mailto:maks@activetelephones.com">maks@activetelephones.com</a><br>
<br>
</div>
</body>
</html>