workflow::case::child_state_changed_handler (private)
workflow::case::child_state_changed_handler \ -parent_enabled_action_id parent_enabled_action_id \ [ -user_id user_id ]
Defined in packages/workflow/tcl/case-procs.tcl
Check if all child actions of this action are complete, and if so cause this action to execute
- Switches:
- -parent_enabled_action_id (required)
- -user_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: db_transaction { set num_incomplete [db_string select_num_incomplete { select count(*) from workflow_case_enabled_actions where parent_enabled_action_id = :parent_enabled_action_id and completed_p = 'f' }] if { $num_incomplete > 0 } { # Still incomplete actions, do nothing return } #---------------------------------------------------------------------- # All child actions are complete, execute the action #---------------------------------------------------------------------- workflow::case::action::execute -no_notification -no_perm_check -enabled_action_id $parent_enabled_action_id -user_id $user_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