Hello all,
I'am trying to understand how the process transition module works to develop a transition module.
But As I understand,
# create new ValidateModuleObject
my $ValidateModuleObject =
$ActualCondition->{Fields}{$Field}{Match}->new(
ConfigObject => $Self->{ConfigObject},
LogObject => $Self->{LogObject},
);
The ValidateModuleObject do not get DBObject
so is it possible the user CustomerUserObject in a validateModuleObject and how to ?
thanks by advance
Vincent
Transition module
Transition module
lab : otrs 5rc1 test : otrs 3.3.15 prod : cluster 3.3.15
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Transition module
Did you try to "get" it? Like so:
Code: Select all
my $CustomerUserObject = $Kernel::OM->Get('Kernel::System::CustomerUser');
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS