<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hello,</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>I am trying to set up a very simple one person approval. I have set the following in my RT_Siteconfig:</div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">#### RTx-Workflow for Approvals ####</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2"> </font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">Set( $WorkflowBuilderStages,</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">     { 'Manager Approval' =></font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">       { content => 'some content here',</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">         subject => 'Manager Approval for Test Queue: {$Approving->ID} - {$Approving->Subject}',</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">         owner =>  'username'</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">       }</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">     }</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">   );</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2"> </font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">Set( $WorkflowBuilderRules,</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">     { 'TestQueue-Approval' => [ 'Manager Approval' ]</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">     }</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">   );</font></div>
<div> </div>
<div>I am getting this error when going to run rt-workflow:</div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">/opt/rt3/local/plugins/RTx-WorkflowBuilder# bin/rt-workflow --create TestQueue TestQueue-Approval</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">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.</font></div>
<div style="padding-left: 36pt; "><font face="Courier New, monospace" size="2">BEGIN failed--compilation aborted at bin/rt-workflow line 5.</font></div>
<div> </div>
<div>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.</div>
<div> </div>
<div style="text-align: right; "><font size="4" color="#7030A0"><i><b>Paul Samarco</b></i></font></div>
<div style="text-align: right; "><font size="2">Network Administrator</font></div>
<div style="text-align: right; "><font size="1" color="#BFBFBF">e. psamarco@delonghiusa.com</font></div>
<div style="text-align: right; "><font size="1" color="#BFBFBF">v. 201.518.2257</font></div>
<div style="text-align: right; "><font size="1" color="#BFBFBF"> </font></div>
<div> </div>
<div> </div>
</font>
</body>
</html>