NAME
Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::GenericInterface – Scheduler daemon task handler module for GenericInterface
DESCRIPTION
This task handler executes scheduler tasks delegated by asynchronous invoker configuration
PUBLIC INTERFACE
new()
my $TaskHandlerObject = $Kernel::OM-Get('Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::GenericInterface');
Run()
Performs the selected Task, causing an Invoker call via GenericInterface.
my $Result = $TaskHandlerObject->Run(
TaskID => 123,
TaskName => 'some name', # optional
Data => {
WebserviceID => $WebserviceID,
Invoker => 'configured_invoker',
Data => { # data payload for the Invoker
...
},
},
);
Returns:
$Result = 1; # or fail in case of an error