Workflow::Action::Null - Workflow action for the terminally lazy


Workflow documentation  | view source Contained in the Workflow distribution.

Index


NAME

Top

Workflow::Action::Null - Workflow action for the terminally lazy

VERSION

Top

This documentation describes version 1.03 of this package

SYNOPSIS

Top

 # in workflow.xml...
 <state name="some state">
   <action name="null" />
   ...

 # in workflow_action.xml...
 <action name="null" class="Workflow::Action::Null" />

DESCRIPTION

Top

Workflow action that does nothing. But unlike all those other lazy modules out there, it does nothing with a purpose! For instance, you might want some poor slobs to have some action verified but the elite masters can skip the work entirely. So you can do:

  <state name="checking" autorun="yes">
     <action name="verify" resulting_state="verified">
         <condition name="isPoorSlob" />
     </action>
     <action name="null" resulting_state="verified">
         <condition name="isEliteMaster" />
     </action>
  </state>

OBJECT METHODS

Top

execute()

Implemented from Workflow::Action. Proudly does nothing and proves it by returning undef.

COPYRIGHT

Top

AUTHORS

Top

Chris Winters <chris@cwinters.com>


Workflow documentation  | view source Contained in the Workflow distribution.