workflow::deputy::delete (public)

 workflow::deputy::delete -user_id user_id -deputy_id deputy_id

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

Delete deputy information for a certain user_id and deputy_id.

Switches:
-user_id
(required)
-deputy_id
(required)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 db_dml db_dml (public) workflow::case::flush_cache workflow::case::flush_cache (private) workflow::deputy::delete workflow::deputy::delete workflow::deputy::delete->db_dml workflow::deputy::delete->workflow::case::flush_cache

Testcases:
No testcase defined.
Source code:
    db_dml delete_deputy {}

    # Flush the role assignment info for all cases
    # to make sure cache is in sync with db
    # Do we also need to flush the workflow level cache here?
    workflow::case::flush_cache
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
<fullquery name="workflow::deputy::delete.delete_deputy">
    <querytext>
	delete from workflow_deputies
	where user_id = :user_id
	  and deputy_user_id = :deputy_id
    </querytext>
</fullquery>
packages/workflow/tcl/deputy-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: