All,
I have a state transition that is not working correctly. It's failing only for 1 of several possible states which makes it even more confusing. I have the following status_enum_workflow defined in adm_config_report.php browser page:
array (
5 => '10:new,20:feedback,50:assigned,85:withdrawn',
10 => '50:assigned,20:feedback,82:postponed,85:withdrawn',
20 => '10:new,50:assigned,53:opened,82:postponed,85:withdrawn',
50 => '53:opened,20:feedback,85:withdrawn',
53 => '80:completed,20:feedback,50:assigned,82:postponed,85:withdrawn',
80 => '90:closed,50:assigned,85:withdrawn',
82 => '53:opened,50:assigned,85:withdrawn,90:closed',
85 => '20:feedback,90:closed',
)
where 5 is "submitted".
The only transition that is NOT working correctly happens when I try to transition from any allowed state (except "completed") to "withdrawn". All appears normal in the GUI, except the resulting state after the transition is not "withdrawn", but instead goes to "completed". Oddly, I can the correctly go from "completed" to "withdrawn".
Any ideas on what else to look at that could be wrong?
Thanks in advance.
State Transition Problem
Moderators: Developer, Contributor