Workflow::Condition::Negated - Negate workflow condition result
This documentation describes version 1.62 of this package
This class is used by Workflow::State to handle negated conditions: conditions of which the referring name starts with an exclamation mark (!).
Workflow::State
Such conditions refer to another condition (by the name after the '!') and return the negated result of the condition referred to (true becomes false while false becomes true).
In condition.xml:
<condition name="check_approvals" class="..."> </condition>
In workflow.xml:
<state name="CHECK_APPROVALS" autorun="yes"> <action name="null_1" resulting_state="APPROVED"> <condition name="check_approvals" /> </action> <action name="null_2" resulting_state="REJECTED"> <condition name="!check_approvals" /> </action> </state>
See Workflow
Copyright (c) 2004-2023 Chris Winters. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Please see the LICENSE
Please see Workflow
To install Workflow, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Workflow
CPAN shell
perl -MCPAN -e shell install Workflow
For more information on module installation, please visit the detailed CPAN module installation guide.