<div dir="ltr"><div>Hi all,<br></div>I'm trying to get CF values to conditionally appear in tickets, but when I do, the template breaks and no emails get sent to anyone. I've seen a few ways of doing this in the Wiki, each a bit different and many for different RT versions. Here's my attempt. What did I do wrong?<br><br>{<br>if(my $orderNumber = $Ticket->CustomFieldValues["Order Number"]) {<br>"<p>Testing printing the order number: " . $orderNumber . "</p>"<br>}<br>}<br><br clear="all"><div><div>Thank you for any information.<br><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></div>