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

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: