[rt-users] RTx::WorkflowBuilder - unable to run rt-workflow
Samarco, Paul
psamarco at delonghiusa.com
Tue Dec 15 14:37:57 EST 2009
Hello,
We have been using RT for about a month for simple tracking of problem requests and now my manager is looking to implement an approvals process. I tried following the suggestions in the wiki with not much luck. I then stumbled on the workflow builder extension.
I am trying to set up a very simple one person approval. I have set the following in my RT_Siteconfig:
#### RTx-Workflow for Approvals ####
Set( $WorkflowBuilderStages,
{ 'Manager Approval' =>
{ content => 'some content here',
subject => 'Manager Approval for Test Queue: {$Approving->ID} - {$Approving->Subject}',
owner => 'username'
}
}
);
Set( $WorkflowBuilderRules,
{ 'TestQueue-Approval' => [ 'Manager Approval' ]
}
);
I am getting this error when going to run rt-workflow:
/opt/rt3/local/plugins/RTx-WorkflowBuilder# bin/rt-workflow --create TestQueue TestQueue-Approval
Can't locate RTx/WorkflowBuilder.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at bin/rt-workflow line 5.
BEGIN failed--compilation aborted at bin/rt-workflow line 5.
Can anyone point me in the right direction? My RT Configuration page shows /opt/rt3/local/plugins/RTx-WorkflowBuilder/lib as one of the perl paths. Should I be running the script as someone other than root? I am sure I am missing something trivial.
Paul Samarco
Network Administrator
e. psamarco at delonghiusa.com
v. 201.518.2257
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091215/132354f2/attachment.htm>
More information about the rt-users
mailing list