[rt-users] Help with "Correspond" condition
Raed El-Hames
Raed.El-Hames at vialtus.com
Mon Oct 11 05:36:06 EDT 2010
Ken:
Can you post the code that you cut and pasted to get a better idea of the problem.
Also something that I always fall into , is writing my action code in "Custom action cleanup code:" and forgetting about and leaving
"Custom action preparation code:" completely empty, you will need
return true ;
there.
Roy
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kenneth Crocker
Sent: 08 October 2010 17:25
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Help with "Correspond" condition
To List,
I have some code that strips information out of the content and sticks it into a Custom Field. IT works great when I trigger it with an condition set for email create tickets. Every time, it works with no problem.
However, when I set the condition for "On Correspond" it does nothing. I want to be able to update that Custom FIeld the same way I create it initially and I figured "On Correspond" was the right condition. Apparently not.
I look ed in the TRANSACTIONS Table and I See the Type as "Correspond". So why doesn't the same code (I copied and pasted) that works for a "Create" not work for "On Correspond"?
My error messages (which don't make sense since I am user 146 and am a SuperUser) are below:
[Fri Oct 8 16:07:44 2010] [warning]: Couldn't enable user 146 (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1143)
[Fri Oct 8 16:12:51 2010] [error]: Group::HasMember was called with an argument that isn't an RT::Principal or id. It's (undefined) (/opt/rt3/bin/../lib/RT/Group_Overlay.pm:1046)
Can anyone help me on this? I just need to get the condition right.
Thanks.
Kenn
LBNL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101011/200ab474/attachment.htm>
More information about the rt-users
mailing list