WorkflowBuilderRules help

Hi,

i have installed WorkflowBuilderRules in rt 3.8.2, but when i try to create
rules
the script return this error (for every perl modules)

Can’t locate RT/Config.pm in @INC

suggestions?

It’s possible to create a rule which depend from the customfield value, so
different values
need different approvers?

for example for different departments, it’s possible to create a rule so a
dba-request is forwarded to different dba-group for approving ?

probabily this rules it’s not correct…

Set( $WorkflowBuilderStages,
{ ‘RefRT approval’ =>
{ content => ‘…’,
subject => ‘RefRT Approval for DBA: {$Approving->Id} -
{$Approving->Subject}’,

       owner => q!{{
Department1              => "group_1",
Department2              => "group_2"}->{ 

$Approving->FirstCustomFieldValue(‘Department’) }}! },
});

Set( $WorkflowBuilderRules,
{ ‘DBA-Approval’ => [ ‘RefRT approval’],
}
);

thanks for suggestions,

Marco

Hi

Marco Avvisano wrote:

Hi,

i have installed WorkflowBuilderRules in rt 3.8.2, but when i try to create
rules
the script return this error (for every perl modules)

Can’t locate RT/Config.pm in @INC

suggestions?

You can try exporting PERL5LIB before running the rt-worlflow command,
to set the path to your RT libraries manually.