Hello,Le 16 juin 2012 à 20:46, Michiel Beijen a écrit :
Hi Bernard,
Typically you dump the contents of data structures with a module like Data::Dumper.
So if you'd take the file bin/otrs.GetTicketThread.pl which is on your OTRS system, this utility prints out a ticket to the screen.
If you would open this file in a text editor, set DynamicFields to '1' and then add, at the end of the file, these two lines:
use Data::Dumper;
print Dumper (\%Ticket);
and then run bin/otrs.GetTicketThread.pl [TicketID] on the command line, it will present the contents of the TicketGet() call.
Thank you for that help.
now other question :
using several dyn fields, Is there a way to known which one has been modified
Or do I have to process all dynamic fields, even if only one has changed
(I mean now using event, still working with generic Agent.)
Best regards
---------------
Bernard CHAMBON
IN2P3 / CNRS
04 72 69 42 18