workflow::definition_changed_handler (public)
workflow::definition_changed_handler -workflow_id workflow_id
Defined in packages/workflow/tcl/workflow-procs.tcl
Should be called when the workflow definition has changed while there are active cases. Will update the record of enabled actions in each of the case, so they reflect the new workflow.
- Switches:
- -workflow_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: workflow::flush_cache -workflow_id $workflow_id set case_ids [db_list select_cases { select case_id from workflow_cases where workflow_id = :workflow_id }] foreach case_id $case_ids { workflow::case::state_changed_handler -case_id $case_id }Generic XQL file: packages/workflow/tcl/workflow-procs.xql
PostgreSQL XQL file: packages/workflow/tcl/workflow-procs-postgresql.xql
Oracle XQL file: packages/workflow/tcl/workflow-procs-oracle.xql