OTRS Survey

Moderator: crythias

Locked
mantyyzz
Znuny newbie
Posts: 19
Joined: 04 Jul 2014, 12:38
Znuny Version: 3.1.15

OTRS Survey

Post by mantyyzz »

Hello everyone, I have a question. Is there possible to set that OTRS Survey Module will send survey only when ticket is successfull closed ? Because now it sends survey when ticket is closed , no mater successful closed or not. So I need only when ticket is solved. Thanks
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: OTRS Survey

Post by eandrex »

Open OTRS_HOME/Kernel/System/Ticket/Event/SurveySendRequest.pm

Look for

Code: Select all

return 1 if $Ticket{StateType} ne 'closed';
change to

Code: Select all

return 1 if $Ticket{State} ne 'closed successful';
I would recommend not editing directly that file, but instead make a copy into
OTRS_HOME/Custom/Kernel/System/Ticket/Event/

and edit it with the changes i just posted
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: OTRS Survey

Post by crythias »

Or you might use another survey provider...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
mantyyzz
Znuny newbie
Posts: 19
Joined: 04 Jul 2014, 12:38
Znuny Version: 3.1.15

Re: OTRS Survey

Post by mantyyzz »

Thanks, I will try this method.
Locked