1Workflow::Action::Null(U3s)er Contributed Perl DocumentatWioornkflow::Action::Null(3)
2
3
4
6 Workflow::Action::Null - Workflow action for the terminally lazy
7
9 This documentation describes version 1.03 of this package
10
12 # in workflow.xml...
13 <state name="some state">
14 <action name="null" />
15 ...
16
17 # in workflow_action.xml...
18 <action name="null" class="Workflow::Action::Null" />
19
21 Workflow action that does nothing. But unlike all those other lazy
22 modules out there, it does nothing with a purpose! For instance, you
23 might want some poor slobs to have some action verified but the elite
24 masters can skip the work entirely. So you can do:
25
26 <state name="checking" autorun="yes">
27 <action name="verify" resulting_state="verified">
28 <condition name="isPoorSlob" />
29 </action>
30 <action name="null" resulting_state="verified">
31 <condition name="isEliteMaster" />
32 </action>
33 </state>
34
36 execute()
37
38 Implemented from Workflow::Action. Proudly does nothing and proves it
39 by returning "undef".
40
42 Copyright (c) 2003-2004 Chris Winters. All rights reserved.
43
44 This library is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
48 Chris Winters <chris@cwinters.com>
49
50
51
52perl v5.12.0 2010-05-07 Workflow::Action::Null(3)