<html><body>
<p><tt><font size="2">I'v got a mailgate plugin in which i am trying to set value to Ticket CustomField.<br>
I'm using this method:<br>
my ($st,$msg) = $args{Ticket}->AddCustomFieldValue( Field => $CFObj->id, Value => $id, RecordTransaction => 1 );<br>
<br>
However this always fail with error message:<br>
Failed to save CF value: 100 as value for CF. Error: Custom field 1 does not apply to this object<br>
<br>
This look like the CF value cannot be assigne just because the ticket itself does not really exist yet. Is it the problem?<br>
<br>
So my question:<br>
is it to possible to assing some value to ticket CF in mailgate plugin ?</font></tt><br>
<br>
<tt><font size="2">Best regards,</font></tt><br>
<font size="2" face="sans-serif"><br>
Pavel Šidlo<br>
<br>
-------------------------------------<br>
LinuxBox.cz, s.r.o.<br>
28. října 168, 709 00 Ostrava<br>
<br>
tel.: +420 591 166 234<br>
mob.: +420 737 238 334<br>
web: www.linuxbox.cz<br>
<br>
mobil servis: +420 737 238 656<br>
email servis: servis@linuxbox.cz<br>
-------------------------------------<br>
</font></body></html>