Subject: | Condition Caching |
Date: | Wed, 6 Nov 2013 17:14:11 +0000 |
To: | bug-Workflow [...] rt.cpan.org |
From: | Sérgio Alves <kaynehril [...] gmail.com> |
Greetings,
Could you possibly add in a near future, a configuration variable that
allows one to decide if the workflow engine should or should not cache the
result of conditions?
The change would be made at Workflow::State::evaluate_action() line 119
where:
if ( exists $self->{'_condition_result_cache'}->{$orig_condition} ) {
could be forced to false if that configuration variable was on.
Thank you once again,
Sérgio Alves