Survey ERROR

Moderator: crythias

Locked
Mindaugas
Znuny newbie
Posts: 14
Joined: 17 Jul 2015, 10:45
Znuny Version: 4.0.9

Survey ERROR

Post by Mindaugas »

Hello,

We are using ORTS 4.0.9. We would like change this settings:

SurveySendRequest.pm file:

When I have changed

from:
return 1 if $Ticket{StateType} ne 'closed';

to:
return 1 if $Ticket{TicketState} ne 'closed successful';

I am getting error and don't send Survey. Have you some ideas? Can you help?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Survey ERROR

Post by reneeb »

Use

Code: Select all

$Ticket{State}
instead of

Code: Select all

$Ticket{TicketState}
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Mindaugas
Znuny newbie
Posts: 14
Joined: 17 Jul 2015, 10:45
Znuny Version: 4.0.9

Re: Survey ERROR

Post by Mindaugas »

Survery version 4.0.1

OTRS 3.3.x version was good for Survey setting.
Mindaugas
Znuny newbie
Posts: 14
Joined: 17 Jul 2015, 10:45
Znuny Version: 4.0.9

Re: Survey ERROR

Post by Mindaugas »

I have changed to:
return 1 if $Ticket{State} ne 'closed successful';
I have got:
Some packages are not correctly installed.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Survey ERROR

Post by crythias »

Mindaugas wrote:I have got:
Some packages are not correctly installed.
Yes, because you changed the file.

I'd recommend installing LimeSurvey and using it to send via Notification Event or potentially Response/Template instead of the built-in survey module.
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
Mindaugas
Znuny newbie
Posts: 14
Joined: 17 Jul 2015, 10:45
Znuny Version: 4.0.9

Re: Survey ERROR

Post by Mindaugas »

Yes, it is working correct. Thank you.
Why are you recommending to install LimeSurvey?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Survey ERROR

Post by reneeb »

It always depends on what you want to achieve. The capabilities of the OTRS module are limited, LimeSurvey et al are more powerful... If the survey module is enough for you, it's ok...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked