workflow::case::get_actual_state (private)

 workflow::case::get_actual_state -case_id case_id \
    [ -parent_enabled_action_id parent_enabled_action_id ] \
    -array array

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

Flushes cache, gets actual state of case, and finds which actions should be enabled/assigned based on that actual state. This can then be used to manage the contents of workflow_case_enabled_actions table.

Switches:
-case_id
(required)
-parent_enabled_action_id
(optional)
-array
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::case::state_changed_handler workflow::case::state_changed_handler (private) workflow::case::get_actual_state workflow::case::get_actual_state workflow::case::state_changed_handler->workflow::case::get_actual_state workflow::case::flush_cache workflow::case::flush_cache (private) workflow::case::get_actual_state->workflow::case::flush_cache workflow::case::fsm::get_state_info workflow::case::fsm::get_state_info (private) workflow::case::get_actual_state->workflow::case::fsm::get_state_info workflow::state::fsm::get workflow::state::fsm::get (public) workflow::case::get_actual_state->workflow::state::fsm::get

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