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.

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::case::get_actual_state workflow::case::get_actual_state (private) workflow::case::fsm::get_state_info workflow::case::fsm::get_state_info workflow::case::get_actual_state->workflow::case::fsm::get_state_info workflow::test::assert_case_state workflow::test::assert_case_state (public) workflow::test::assert_case_state->workflow::case::fsm::get_state_info workflow::case::fsm::get_state_info_not_cached workflow::case::fsm::get_state_info_not_cached (private) workflow::case::fsm::get_state_info->workflow::case::fsm::get_state_info_not_cached

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: