[rt-users] Custom Condition - On Correspond or Comment

2013-03-13 Thread Billington, James
Hello All, I am running RT 4.0.10 on CentOS 6.3. I was trying to create a user defined condition from the create scrip ui based on a code snippit I found here (http://requesttracker.wikia.com/wiki/CustomConditionSnippets). On Correspond to Unowned Ticket return 0 unless

Re: [rt-users] Custom Condition - On Correspond or Comment

2013-03-13 Thread Thomas Sibley
On 03/13/2013 09:59 AM, Billington, James wrote: I was wondering if I can add an *or* in the first statement to make it apply to correspond or comment? Like this: return 0 unless $self-TransactionObj-Type eq Correspond or “Comment”; No, that's not valid Perl. You'd need (line break is

Re: [rt-users] Custom Condition - On Correspond or Comment

2013-03-13 Thread Billington, James
Mantech International -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Thomas Sibley Sent: Wednesday, March 13, 2013 1:47 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Custom Condition

Re: [rt-users] Custom Condition - On Correspond or Comment

2013-03-13 Thread Asif Iqbal
Of Thomas Sibley Sent: Wednesday, March 13, 2013 1:47 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Custom Condition - On Correspond or Comment On 03/13/2013 09:59 AM, Billington, James wrote: I was wondering if I can add an *or* in the first statement to make it apply

Re: [rt-users] Custom Condition - On Correspond or Comment

2013-03-13 Thread Thomas Sibley
On 03/13/2013 10:58 AM, Billington, James wrote: Thanks for the quick response and you answered my question perfectly. I'm definitely going to check out the extension as a replacement or more complete solution for this, though it's not showing up yet from the link you sent. I suppose it'll