workflow::case::fsm::get_state_info (private)

 workflow::case::fsm::get_state_info -case_id case_id \
    [ -parent_enabled_action_id parent_enabled_action_id ] [ -all ]

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

Gets all state info from the database, include sub-action state.

Switches:
-case_id (required)
-parent_enabled_action_id (optional)
-all (optional, boolean)
Returns:
a list of (action_id, current_state) tuples. The top-level state is the one that has action_id empty.

Testcases:
No testcase defined.
Source code:
    # TODO: Cache and flush
    return [workflow::case::fsm::get_state_info_not_cached $case_id $parent_enabled_action_id $all_p]
Generic XQL file:
packages/workflow/tcl/case-procs.xql

PostgreSQL XQL file:
packages/workflow/tcl/case-procs-postgresql.xql

Oracle XQL file:
packages/workflow/tcl/case-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: