workflow::action::fsm::get_element (public)

 workflow::action::fsm::get_element [ -action_id action_id ] \
    [ -one_id one_id ] -element element

Defined in packages/workflow/tcl/action-procs.tcl

Return element from information about an action with a given id, including FSM-related info such as 'enabled_in_states', and 'new_state'. Return a single element from the information about a action.

Switches:
-action_id (optional)
The ID of the action
-one_id (optional)
Same as action_id, just used for consistency across roles/actions/states.
-element (required)
The element you want
Returns:
The element you asked for
Authors:
Peter Marklund
Lars Pind <lars@collaboraid.biz>

Testcases:
No testcase defined.
[ show source ]
Show another procedure: