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