More than one Survey

Moderator: crythias

Locked
luvico86
Znuny newbie
Posts: 2
Joined: 08 Nov 2010, 21:23
Znuny Version: 2.0.3

More than one Survey

Post by luvico86 »

Hello, I am an OTRS user, that need have more than one survey activated.
Actually, when I set one of them in Master, automatically the OTRS set the other in "Valid".

I look forward to your help,
luvico86
Znuny newbie
Posts: 2
Joined: 08 Nov 2010, 21:23
Znuny Version: 2.0.3

Re: More than one Survey

Post by luvico86 »

Any help for me?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: More than one Survey

Post by crythias »

Can you adjust your signature to include your version of OTRS, OS, and Database?

The survey module appears to be an add-on package through the package manager.
From what I've been able to gather, the Master Survey is the one that gets sent out at the close of a ticket, if it belongs to the queue, and the survey is enabled.

The help for this is rather sparse.

Since this appears to be an automatic send on close, it would make sense to me that the unique Master is the only one to send. Although, given that queues are selectable, having different masters for different queues might have been a decent idea.

I didn't have anything to do with the Survey package, so this post is simply a "here's what I've found." Hope it helps you in some way.
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
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: More than one Survey

Post by BIG_jan »

in file kernel\system\Survey.pm you have to change the SQL-statement in sub RequestSend()

Code: Select all

SQL   => "SELECT s.id
    FROM survey s, survey_queue sq, ticket t
    WHERE s.id = sq.survey_id
    and t.queue_id = sq.queue_id
    and t.id = $Param{TicketID}
    and s.status IN ('Valid', 'Master')",
now every survey in valid or master state is active and will send requests.

If there are two surveys on one queue only the older survey will send requests.
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
danielz
Znuny newbie
Posts: 9
Joined: 12 Jun 2010, 00:06
Znuny Version: 3
Location: Guadalajara, Jalisco, México

Re: More than one Survey

Post by danielz »

Hi!,
I think this is a good idea for the next versions of Survey module, I posted it on our otrs team ideas group, to being voted for the community, also you can vote or add more otrs ideas there.

http://otrsteam.ideascale.com/a/dtd/Mor ... 4150-10369
Best Regards,
Daniel Zamorano
lukas77
Znuny newbie
Posts: 7
Joined: 16 Dec 2010, 11:11
Znuny Version: 3.0.2

Re: More than one Survey

Post by lukas77 »

Hello,
Is this method still works in OTRS 3.0.10? I'd like to set survey X to one queue, and survey Y to another queue. Anyone can help me?
OTRS 3.1.12
lukas77
Znuny newbie
Posts: 7
Joined: 16 Dec 2010, 11:11
Znuny Version: 3.0.2

Re: More than one Survey

Post by lukas77 »

Is it not possible to run more than one survey in OTRS 3?
OTRS 3.1.12
ahe-otrs
Znuny newbie
Posts: 4
Joined: 21 Feb 2012, 19:43
Znuny Version: OTRS3

Re: More than one Survey

Post by ahe-otrs »

lukas77 wrote:Is it not possible to run more than one survey in OTRS 3?
We are using OTRS 3.0.10 and the Fix of BIG_jan wasn't working.
So currently I see no possibility for this :/
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: More than one Survey

Post by BIG_jan »

ahe-otrs wrote:
lukas77 wrote:Is it not possible to run more than one survey in OTRS 3?
We are using OTRS 3.0.10 and the Fix of BIG_jan wasn't working.
So currently I see no possibility for this :/
It should be possible, cause we are still using that fix :)

The original SQL took the Master-Survey to send the request for.
Our Patch is looking from which queue the ticket was closed - which survey belongs to that queue and then send the request for thar survey.
But only when survey is in Valid or Master state.

We have 4 running Surveys on our Queues.

The only problem with my fix is, when there are two Surveys set to the same queue. Then it is not taking the Master, but anyone.
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
doodsangel
Znuny newbie
Posts: 1
Joined: 23 Jan 2014, 17:05
Znuny Version: 3.3.3

Re: More than one Survey

Post by doodsangel »

Hi,

I am unable to find this in version 3.3.3.

Any help would be appreciated.

Regards,
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: More than one Survey

Post by crythias »

Take also a look at limesurvey
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
foshito
Znuny newbie
Posts: 7
Joined: 18 Jan 2014, 16:20
Znuny Version: 3.3.3
Real Name: Marco
Company: Gallo

Re: More than one Survey

Post by foshito »

Please

Use the otrs 3.3.6, as I do want to point me to a survey encviar notifications with status "valid" ...

I appreciate your help

Apologies for grammar
Locked