workflow::case::action::unenable (private)

 workflow::case::action::unenable -enabled_action_id enabled_action_id

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

Update the workflow_case_enabled_actions table to say that the previously enabled actions are no longer enabled. Does not flush the cache. Should only be called indirectly through the workflow API.

Switches:
-enabled_action_id
(required)
Author:
Lars Pind <lars@collaboraid.biz>

Partial Call Graph (max 5 caller/called nodes):
%3 workflow::case::state_changed_handler workflow::case::state_changed_handler (private) workflow::case::action::unenable workflow::case::action::unenable workflow::case::state_changed_handler->workflow::case::action::unenable db_dml db_dml (public) workflow::case::action::unenable->db_dml workflow::case::enabled_action_get_element workflow::case::enabled_action_get_element (public) workflow::case::action::unenable->workflow::case::enabled_action_get_element

Testcases:
No testcase defined.
Source code:
    set action_id [workflow::case::enabled_action_get_element -enabled_action_id $enabled_action_id -element action_id]

    db_dml delete_enabled_action {
        delete 
        from   workflow_case_enabled_actions
        where  enabled_action_id = :enabled_action_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: