Hi,
I've been struggling for a while with some trouble with the workflow control checks... hope someone could help me figure this out !
Two issues actually:
1) The workflow for an activity, as I have it defined using the "workflows" menu, allows me (as admin) to go from "closed" to "reopened". However if I try to do this, I get the error message "Invalid controls. The workflow does not allow you to move this item to this status".
Following the i18n string, I've gotten as far as the control check in saveSqlElement, but after that I must admit I'm slightly lost!
2) Similar issue, on projects: I am working on a project which was declared as type "Administrative". It is currently in status "in progress". However now I would like to use the planning function and therefore (I think) I need to change the project status to for example "Internal".
If I try changing the status to "internal" I again get the error message "Invalid controls. The workflow does not allow you to move this item to this status".
I've noticed that if a project is in status "copied" (and I assume also "recorded"), I can change its type to "internal" without error.
So basically, I'm wondering which "hidden" workflow controls are implemented, and how (or if) it would be possible to tweak them ?
Any help would be much appreciated