workflow::case::flush_cache0 (private)

 workflow::case::flush_cache0 [ -case_id case_id ]

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

Flush all cached data for a given case or for all cases if none is specified.

Switches:
-case_id (optional)
The id of the workflow case to flush. If not provided the cache will be flushed for all workflow cases.
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 ad_decode ad_decode (public) util_memoize_flush_regexp util_memoize_flush_regexp (public) workflow::case::fsm::get_info_not_cached workflow::case::fsm::get_info_not_cached (private) workflow::case::get_enabled_action_ids_not_cached workflow::case::get_enabled_action_ids_not_cached (public) workflow::case::get_enabled_actions_not_cached workflow::case::get_enabled_actions_not_cached (private, deprecated) workflow::case::flush_cache0 workflow::case::flush_cache0 workflow::case::flush_cache0->ad_decode workflow::case::flush_cache0->util_memoize_flush_regexp workflow::case::flush_cache0->workflow::case::fsm::get_info_not_cached workflow::case::flush_cache0->workflow::case::get_enabled_action_ids_not_cached workflow::case::flush_cache0->workflow::case::get_enabled_actions_not_cached

Testcases:
No testcase defined.
Source code:
    foreach proc_name {
        workflow::case::fsm::get_info_not_cached
        workflow::case::get_user_roles_not_cached
        workflow::case::get_enabled_actions_not_cached
        workflow::case::get_enabled_action_ids_not_cached
    } {
        util_memoize_flush_regexp "^$proc_name [ad_decode $case_id "" {\.*} $case_id]"
    }

    util_memoize_flush_regexp [list workflow::case::get_activity_log_info_not_cached -case_id $case_id]

    # Flush role info (assignees etc)
    workflow::case::role::flush_cache0 -case_id $case_id
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: