workflow::case::role::assignees_remove (public)
workflow::case::role::assignees_remove -case_id case_id \ -role_id role_id
Defined in packages/workflow/tcl/case-procs.tcl
Remove all assignees in this role
- Switches:
- -case_id (required)
- the ID of the case.
- -role_id (required)
- the ID of the role to remove the assignees from.
- Author:
- Ryan Gallimore
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set assignees [workflow::case::role::get_assignees -case_id $case_id -role_id $role_id] foreach assignee $assignees { array set elm $assignee if { ([info exists elm(party_id)] && $elm(party_id) ne "") } { callback workflow::case::role::after_unassign -case_id $case_id -party_id $elm(party_id) } array unset elm } db_dml delete_assignees {} workflow::case::role::flush_cache -case_id $case_idGeneric XQL file: <fullquery name="workflow::case::role::assignees_remove.delete_assignees"> <querytext> delete from workflow_case_role_party_map where case_id = :case_id and role_id = :role_id </querytext> </fullquery>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