Index: openacs-4/packages/workflow/tcl/state-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/workflow/tcl/state-procs.tcl,v diff -u -r1.23 -r1.24 --- openacs-4/packages/workflow/tcl/state-procs.tcl 12 Feb 2019 18:00:04 -0000 1.23 +++ openacs-4/packages/workflow/tcl/state-procs.tcl 12 Feb 2019 18:45:14 -0000 1.24 @@ -1,7 +1,7 @@ ad_library { Procedures in the workflow::fsm::state namespace and in its child namespaces. - + @creation-date 8 January 2003 @author Lars Pind (lars@collaboraid.biz) @author Peter Marklund (peter@collaboraid.biz) @@ -26,31 +26,31 @@ {-parent_action {}} } { Creates a new state for a certain FSM (Finite State Machine) workflow. - + @param workflow_id The id of the FSM workflow to add the state to @param short_name If you leave blank, the short_name will be generated from pretty_name. - @param pretty_name + @param pretty_name @param hide_fields A space-separated list of the names of form fields which should be hidden when in this state, because they're irrelevant in a certain state. - @param sort_order The number which this state should be in the sort ordering sequence. + @param sort_order The number which this state should be in the sort ordering sequence. Leave blank to add state at the end. If you provide a sort_order number which already exists, existing states are pushed down one number. - + @param parent_action Which action with trigger_type 'workflow' does this state belong to. - @param internal Set this flag if you're calling this proc from within the corresponding proc - for a particular workflow model. Will cause this proc to not flush the cache + @param internal Set this flag if you're calling this proc from within the corresponding proc + for a particular workflow model. Will cause this proc to not flush the cache or call workflow::definition_changed_handler, which the caller must then do. @return ID of new state. - + @author Peter Marklund -} { +} { # Wrapper for workflow::state::fsm::edit foreach elm { short_name pretty_name sort_order parent_action } { @@ -74,9 +74,9 @@ {-no_complain:boolean} {-handlers {}} } { - Edit a workflow state. + Edit a workflow state. - Attributes of the array are: + Attributes of the array are: