Barry, Scott,
Barry Benowitz wrote:
Hi Scott,
My two cents is that this sounds like a good idea, but maybe we need
some more discussion before you go ahead and make the change. For
example, I would think that we need pre *and* post hooks available, so I
would not simply move the existing workflow calls to the "top", but
rather add some new ones.
I agree with Barry here. Most workflow methods actually count on data
being passed to them AFTER a certain event happened. If you need to
check or cancel at the beginning of a method, say if you want to cancel
the update of the issue, add a method, preIssueUpdated and if it returns
false cancel the update. You should probably pass the variables by
reference, so the workflow method can modify the values as needed. Then
send me your changes so I can include them in the next release.
Best Regards,
Are you MySQL certified? www.mysql.com/certification