Hi Bernard,

just use TicketGet(...., DynamicFields => 1); and you will get all fields on the result hash.

Regards, mg

Am 14.06.12 12:12, schrieb Bernard Chambon:

Hello,

I want to run an action , using event, according to the value of a dynamic field 
( dynamic field is a check box, let say "IsCompanyTicket")

The current situation :
 dynamic field created and associated to Customer::Frontend 
 new ConfigItem added in Kernel/Config/Files/Ticket.xml
 Event module created in Kernel/System/Ticket/Event/

 In that module, I can see (print) the dynamic Field name DynamicField_IsCompanyTicket, th'at's ok
 but I DON'T know how to get the value
 I meant that something like :
  my $df_value = $Ticket{DynamicField_IsCompanyTicket}; 

 doesn't work, I got no value
 I have tried with checkbox but also textfield.

I don't kown where to look for in documentation ?

Best regards.

---------------
Bernard CHAMBON
IN2P3 / CNRS
04 72 69 42 18



---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

-- 
Martin Gruner
Senior Developer R&D

OTRS AG
Europaring 4
94315 Straubing

T: +49 (0)6172 681988 0
F: +49 (0)9421 56818 18
I:  www.otrs.com/

Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065
Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn

Verbinden wir uns! OTRS 3.1 schafft einfachere Integration mit Drittapplikationen – Für Frühbucher zum Vorzugspreis: http://www.otrs.com/index.php?id=2361&L=1