When a ticket is closed by an agent, I want to trigger a -non Perl- script on my linux server.
Unfortunately TicketStateUpdate is not triggered on 'TicketStateUpdate'.
I used the tutorial from Crythias on: viewtopic.php?t=10090
So I created in Kernel/Config/Files a file called: TicketInvokeCMS.xml:
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Changes">
<ConfigItem Name="Ticket::EventModulePost###InvokeCMS" Required="0" Valid="1">
<Description Lang="en"></Description>
<Description Lang="de"></Description>
<Group>Ticket</Group>
<SubGroup>Core::Ticket</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::System::Ticket::Event::TicketInvokeCMS</Item>
<Item Key="Event">TicketStateUpdate</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
for the time being, this file only adds a line to the log so I can see if this Event is triggered.
But when I close a ticket, nothing happeneds.
After changing the line in the XML
Code: Select all
<Item Key="Event">TicketStateUpdate</Item>
Code: Select all
<Item Key="Event">TicketQueueUpdate</Item>
Why will TicketStateUpdate not be triggered when I close a ticket?
Or how can I implement this?
Who can help me?
Kind regards, Tom