1Workflow::Action::Null(U3s)er Contributed Perl DocumentatWioornkflow::Action::Null(3)
2
3
4

NAME

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

SYNOPSIS

9        # in workflow.xml...
10        <state name="some state">
11          <action name="null" />
12          ...
13
14        # in workflow_action.xml...
15        <action name="null" class="Workflow::Action::Null" />
16

DESCRIPTION

18       Workflow action that does nothing. But unlike all those other lazy mod‐
19       ules out there, it does nothing with a purpose! For instance, you might
20       want some poor slobs to have some action verified but the elite masters
21       can skip the work entirely. So you can do:
22
23         <state name="checking" autorun="yes">
24            <action name="verify" resulting_state="verified">
25                <condition name="isPoorSlob" />
26            </action>
27            <action name="null" resulting_state="verified">
28                <condition name="isEliteMaster" />
29            </action>
30         </state>
31

OBJECT METHODS

33       execute()
34
35       Implemented from Workflow::Action. Proudly does nothing and proves it
36       by returning "undef".
37
39       Copyright (c) 2003-2004 Chris Winters. All rights reserved.
40
41       This library is free software; you can redistribute it and/or modify it
42       under the same terms as Perl itself.
43

AUTHORS

45       Chris Winters <chris@cwinters.com>
46
47
48
49perl v5.8.8                       2007-04-25         Workflow::Action::Null(3)
Impressum