1Workflow::Condition::NeUgsaetredC(o3n)tributed Perl DocuWmoernktfaltoiwo:n:Condition::Negated(3)
2
3
4
6 Workflow::Condition::Negated - Negate workflow condition result
7
9 This documentation describes version 1.60 of this package
10
12 This class is used by "Workflow::State" to handle negated conditions:
13 conditions of which the referring name starts with an exclamation mark
14 (!).
15
16 Such conditions refer to another condition (by the name after the '!')
17 and return the negated result of the condition referred to (true
18 becomes false while false becomes true).
19
21 In condition.xml:
22
23 <condition name="check_approvals" class="...">
24 </condition>
25
26 In workflow.xml:
27
28 <state name="CHECK_APPROVALS" autorun="yes">
29 <action name="null_1" resulting_state="APPROVED">
30 <condition name="check_approvals" />
31 </action>
32 <action name="null_2" resulting_state="REJECTED">
33 <condition name="!check_approvals" />
34 </action>
35 </state>
36
38 See Workflow
39
41 Copyright (c) 2004-2022 Chris Winters. All rights reserved.
42
43 This library is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself.
45
46 Please see the LICENSE
47
49 Please see Workflow
50
51
52
53perl v5.36.0 2022-07-22 Workflow::Condition::Negated(3)