Hi all,
I have an event module that takes too much time so the user response time is ridiculous. I was thinking of creating a new asynchronous task from the event and then run the actions on the background.
I’ve been reading the OTRS 5.0 dev manual: it refers to the task handler and shows a test module located in Kernel/Scheduler/TaskHandler/Test.pm, but my OTRS install doesn’t have any Scheduler folder.
The admin manual refers to the OTRS Daemon, new feature in OTRS 5, and I’ve located some modules in the System folder, but I cannot find any document on how to create a new process for the daemon.
Can anybody refer to some guide or explain how to register a new asynchronous task?
OTRS 5: register a new asynchronous task from an event module
OTRS 5: register a new asynchronous task from an event module
OTRS 5.0.15 on CentOSLinux with MariaDB database connected to an Active Directory for Agents and Customers.
Re: OTRS 5: register a new asynchronous task from an event module
So, I got an interesting answer in the otrs lists (http://lists.otrs.org): in OTRS 5 you can use the module Kernel::System::AsynchronousExecutor(https://otrs.github.io/doc/api/otrs/5.0 ... or.pm.html). I've seen the docs and doesn't seem difficult to use.
OTRS 5.0.15 on CentOSLinux with MariaDB database connected to an Active Directory for Agents and Customers.