[rt-users] RTx::WorkflowBuilder is now available on CPAN
Richard Foley
Richard.Foley at rfi.net
Thu Feb 26 10:20:49 EST 2009
On Tuesday 24 February 2009 12:42:15 Chia-liang Kao wrote:
> Hi,
>
> RTx::WorkflowBuilder is a tool that helps you configure multi-stage
> approval workflow in rt.
>
> It is now available at http://search.cpan.org/dist/RTx-WorkflowBuilder/.
>
Hi Chia-liang,
This looks good, although it doesn't appear to work smoothly yet.
1. In your pod you have:
% bin/rt−workflow PO PO‐Approval −−create
Which should probably read:
% bin/rt−workflow --create PO PO‐Approval
2. When I had set up the workflow within my RT_SiteConfig.pm, and run the
bin/rt-workflow script to create the scrips and templates, I naturally
created a ticket. Nothing happened, but I noticed in the logs there was the
following entry:
Found 0 scrips for TransactionBatch stage with applicable type(s)
So, I changed went into:
Configuration -> Queues -> crs -> Scrips
and changed "Stage" from "Transaction Create" to "Transaction Batch".
3. The next time I created a ticket, the workflow/approval mechanism kicked in
and the log files filled up, but no approvals were created - because of a
stray character:
ENDOFCONTENT (/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:669)
[Thu Feb 26 14:50:29 2009] [error]: Ticket creation failed: Unrecognized
character \xE2 in column 44 at template line 1.
Stack:
[template:1]
[/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:667]
[/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:366]
[/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:303]
[/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238]
[/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464]
[/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196]
[/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:175]
[/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:3165]
[/opt/rt3/local/html/Ticket/Create.html:394]
[/opt/rt3/share/html/autohandler:311]
(/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:672)
[Thu Feb 26 14:50:29 2009] [warning]: Exiting subroutine via next
at /opt/rt3/bin/../lib/RT/Action/CreateTickets.pm line 678.
(/opt/rt3/bin/../lib/RT/Action/CreateTickets.pm:678)
I'm not sure which bit of which Template, or code, might be causing this
error, but I think we're close to having a working Approvals system in the
outside world though. What do you think?
--
Richard Foley
Ciao - shorter than aufwiedersehen
http://www.rfi.net/
More information about the rt-users
mailing list