diff --git a/docs/automating_rt.pod b/docs/automating_rt.pod index 67c1ecf1118..9a061bdca89 100644 --- a/docs/automating_rt.pod +++ b/docs/automating_rt.pod @@ -78,6 +78,21 @@ The C<--action> argument is set to L which is the base class for RT actions. Since this class doesn't perform any action itself, this command will just output the results of the TicketSQL search. +=head2 Multiple --Action Parameters + + /opt/rt4/bin/rt-crontool \ + --search RT::Search::FromSQL \ + --search-arg "Status = 'stalled'" \ + --action RT::Action::SetStatus --action-arg resolved \ + --action RT::Action::Notify \ + --action-arg 'Requestor' \ + --transaction last \ + --template 'Stalled ticket resolved' \ + +rt-crontool can take more than one --action parameter to perform multiple steps at a time. In the example above +two actions are completed, first the SetStatus action then the Notify action. + + =head1 Auto-resolve Aged Tickets You can auto-set status based on any criteria you can define in