State After Pending not working
Moderator: crythias
State After Pending not working
Hello,
we have set up a new OTRS 5.0.10 System (coming from 3.5).
What we like to configure (as we had it in OTRS 3.5) is after setting a "pending reminder" state on a ticket and after the "pending reminder time" is reached to change the state of the ticket automatically to "open".
Under OTRS 3.5 this worked flawlessly.
Unfortunately I can't get it to work with OTRS 5.0.10. The "pending reminder" state is not changing after the "pending reminder time" is reached.
In my opinion the related setting is Ticket -> Core::Ticket::StateAfterPending which I already set to "open" with no success.
Any help on this matter is appreciated.
Kind regrads,
Florian Biermann
we have set up a new OTRS 5.0.10 System (coming from 3.5).
What we like to configure (as we had it in OTRS 3.5) is after setting a "pending reminder" state on a ticket and after the "pending reminder time" is reached to change the state of the ticket automatically to "open".
Under OTRS 3.5 this worked flawlessly.
Unfortunately I can't get it to work with OTRS 5.0.10. The "pending reminder" state is not changing after the "pending reminder time" is reached.
In my opinion the related setting is Ticket -> Core::Ticket::StateAfterPending which I already set to "open" with no success.
Any help on this matter is appreciated.
Kind regrads,
Florian Biermann
Re: State After Pending not working
Sorry for bumping this thread, but does nobody have the same issue or does someone got this configured and working?
Thank you
Thank you
Re: State After Pending not working
What do you have as your key and content for Ticket::StateAfterPending?
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
MySQL database
Ubuntu 16.04 LTS
-
- 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: State After Pending not working
Is your cronjob/daemon running?
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: State After Pending not working
@Eggllo:
As key we use the names of the "pending reminder states" (as they are in the database) an as content we use "open".
@renneb:
Yes, the cronjob/daemon is running.
As key we use the names of the "pending reminder states" (as they are in the database) an as content we use "open".
@renneb:
Yes, the cronjob/daemon is running.
-
- 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: State After Pending not working
Any messages in the logfile(s)?
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: State After Pending not working
Unfortunately no messages in the otrs log.
But what I have discovered now is that if I use the "pending auto close+" state (as key) and the "closed successful" state (as option) in Ticket::StateAfterPending the ticket gets "closed successful" when the pending time is reached.
For some reason the change of the state took 23 minutes after the pending time was reached.
I will try some other state constellations and see if they work or not.
But what I have discovered now is that if I use the "pending auto close+" state (as key) and the "closed successful" state (as option) in Ticket::StateAfterPending the ticket gets "closed successful" when the pending time is reached.
For some reason the change of the state took 23 minutes after the pending time was reached.
I will try some other state constellations and see if they work or not.
Re: State After Pending not working
Ok now it is getting weird.
The only pending state that is able to change state after pending time is reached is "pending auto close+".
"pending auto close+" is able to change to all other states I configured.
All other states can't change their states after pending time reached.
The only pending state that is able to change state after pending time is reached is "pending auto close+".
"pending auto close+" is able to change to all other states I configured.
All other states can't change their states after pending time reached.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: State After Pending not working
Make sure both columns contain valid states and are case sensitively spelled properly.
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
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
Re: State After Pending not working
I double checked the entries and they are all properly spelled.
But I found a way to get it working.
What I did:
1. Sysconfig -> Core::Ticket in Ticket::PendingAutoStateType I added all the states I want to change state after pending time is reached.
2. I changed all state-types of the states from 1.) to "pending auto" from "pending reminder"
The states are changing state properly now.
Unfortunately they are only refreshed at even hours and 45 minutes (e.g. 10:45 / 12:45 / 14:45)
This interval is too long.
Any suggestions where I can adjust this interval?
Thank you!
But I found a way to get it working.
What I did:
1. Sysconfig -> Core::Ticket in Ticket::PendingAutoStateType I added all the states I want to change state after pending time is reached.
2. I changed all state-types of the states from 1.) to "pending auto" from "pending reminder"
The states are changing state properly now.
Unfortunately they are only refreshed at even hours and 45 minutes (e.g. 10:45 / 12:45 / 14:45)
This interval is too long.
Any suggestions where I can adjust this interval?
Thank you!
Re: State After Pending not working
Ok I found it myself:
Sysconfig -> Daemon -> Daemon::SchedulerCronTaskManager::Task -> Daemon::SchedulerCronTaskManager::Task###TicketPendingCheck
Thank you for your help everyone.
I will mark this thread as solved.
Sysconfig -> Daemon -> Daemon::SchedulerCronTaskManager::Task -> Daemon::SchedulerCronTaskManager::Task###TicketPendingCheck
Thank you for your help everyone.
I will mark this thread as solved.