Transition module

English! place to talk about development, programming and coding
Post Reply
vincent13
Znuny newbie
Posts: 43
Joined: 28 May 2013, 12:38
Znuny Version: 3.2000
Company: cpr sncf

Transition module

Post by vincent13 »

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
lab : otrs 5rc1 test : otrs 3.3.15 prod : cluster 3.3.15
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Transition module

Post by RStraub »

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
Post Reply