Survey OTRS module

Moderator: crythias

Locked
dimbass
Znuny newbie
Posts: 8
Joined: 18 Apr 2014, 08:49
Znuny Version: 3.3.0.beta4
Real Name: Dmitry

Survey OTRS module

Post by dimbass »

Hi. Is it possible to change delay for sending survay message to 30 minutes after ticket closed, in Survay module for OTRS?

I've tried to change setting Survey -> Core::Survey Survey::SendInHoursAfterClose and it had no effect.
You do not have the required permissions to view the files attached to this post.
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 OTRS module

Post by reneeb »

No. This is not possible (without some minor development). This option can be set to an integer value only (1,2,3,...).
If no survey is sent at all, please check if you added the cronjob (https://github.com/OTRS/Survey/tree/master/var/cron) to your crontab.

To be able to send the request with a delay that is not an integer value, you should create a <OTRS_HOME>/Kernel/Config/Files/ZSurvey.xml with this content:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Application">
    <ConfigItem Name="Survey::SendInHoursAfterClose" Required="1" Valid="1">
        <Description Translatable="1">Defines the amount in hours a ticket has to be closed to trigger the sending of a survey, ( 0 means send immediately after close , 0.5 means half an hour (30 mins)).</Description>
        <Group>Survey</Group>
        <SubGroup>Core::Survey</SubGroup>
        <Setting>
            <String Regex="^[0-9]{1,5}(?:\.[0-9]{1,2})?$">0.5</String>
        </Setting>
    </ConfigItem>
</otrs_config>
(untested)
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
dimbass
Znuny newbie
Posts: 8
Joined: 18 Apr 2014, 08:49
Znuny Version: 3.3.0.beta4
Real Name: Dmitry

Re: Survey OTRS module

Post by dimbass »

thank you all excellent

:-)
dimbass
Znuny newbie
Posts: 8
Joined: 18 Apr 2014, 08:49
Znuny Version: 3.3.0.beta4
Real Name: Dmitry

Re: Survey OTRS module

Post by dimbass »

And I have another question. How can I insert <OTRS_CUSTOMER_BODY> into mail formed by Survay module
Locked